[yocto] Mount options for removable drives

Paul Barker paul at paulbarker.me.uk
Fri Jul 12 01:56:43 PDT 2013


On 12 July 2013 09:30, Paul D. DeRocco <pderocco at ix.netcom.com> wrote:
> Can someone point me to the configuration for how removable drives are
> mounted? When I plug in a flash drive, it mounts /dev/sdb1 as /media/sdb1,
> but it uses "relatime" and I'd like to use "noatime". I'd also like it to
> mount in "sync" mode, which I would think would be the default for such a
> drive, but I've gotten a corrupted FAT when I've yanked the drive.
>
> This is basically a core-image-base build, modified to use systemd, but I
> don't see any systemd mount unit that handles it, so it must be some other
> part of the system.
>

Look in /etc/udev on the image, this is handled by udev.

--
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk



More information about the yocto mailing list