[yocto] Mount options for removable drives

Burton, Ross ross.burton at intel.com
Fri Jul 12 02:53:15 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.

As I understand it, the caveat with "sync" is that you do a *lot* more
writes to the disk which dramatically reduces the lifespan of
flash-based media.

Ross



More information about the yocto mailing list