Removable storage devices and sync

David Zeuthen david at fubar.dk
Thu Oct 28 14:47:21 UTC 2004


On Thu, 2004-10-28 at 14:27 +0200, Ralf Ertzinger wrote:
> Hi.
> 
> Nils Philippsen <nphilipp at redhat.com> wrote:
> 
> > IIRC it depends on the size of the storage, i.e. if it is below a
> > certain size it won't get moutned sync because then it's probably some
> > kind of a flash device which can only be written a certain number of
> > times. In that case, sync is a bad idea because it will wear your device
> > much faster.

Right, that is the heuristic we use.

> Hmm. The following is an excerpt from my laptop's /etc/fstab:
> 
> /dev/sda    /media/CCYU_TECH        vfat    pamconsole,noatime,async,exec,noauto,managed 0 0
> /dev/sdb10  /media/usbdisk          ext3    pamconsole,noatime,async,exec,noauto,managed 0 0
> /dev/sdb12  /media/usbdisk1         ext3    pamconsole,exec,noauto,managed 0 0
> /dev/sdb13  /media/MacOSX           hfsplus pamconsole,exec,noauto,managed 0 0
> 
> /dev/sda is a 64MB USB flash device
> /dev/sdb is a 15GB hard disk drive in an USB enclosure, sdb10 being a quite
> small partition.
> So small partitions get explicitly mounted async, but isn't that the default,
> anyway?
> 

Oops, embarrassing, my bad. That should be 'sync' instead of 'async'.
Will change that, maybe it can get into FC-3 otherwise it will have to
be an update.

David 





More information about the fedora-devel-list mailing list