[yocto] Mount options for removable drives

Paul D. DeRocco pderocco at ix.netcom.com
Fri Jul 12 17:28:35 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.

> From: Paul Barker
> 
> Look in /etc/udev on the image, this is handled by udev.

Thanks. Changing /etc/fstab does bupkis, so I provided my own slightly
modified version of the mount.sh script in udev-extraconf, and that seems to
work fine.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco at ix.netcom.com 




More information about the yocto mailing list