Red Hat Bugzilla – Bug 182053
HAL should be consistent regarding use of "sync" option
Last modified: 2013-03-13 00:49:56 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:220.127.116.11) Gecko/20060210 Fedora/18.104.22.168-3 Firefox/22.214.171.124
Description of problem:
For removable USB storage devices, HAL mounts ext3 file systems with the sync option but does not apply the sync option on vfat file systems. I think that the use of sync would be desirable for any removable device that supported it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Attach USB storage devices with vfat and ext3 file systems.
2. Observe mount options used
Actual Results: Output from mount:
/dev/sdb1 on /media/disk-1 type vfat (rw,noexec,nosuid,nodev,shortname=winnt,uid=500)
/dev/sda1 on /media/usb-ext3 type ext3 (rw,noexec,nosuid,nodev,sync)
Expected Results: Both devices should be mounted with sync option since both file systems support it.
On an vfat file system mounting sync is a quick way to make sure your USB memory
stick desn't last very long. This is because the FAT table which resides in the
same place on the the device is updated on every write. Since flash memory can
only be written to a finite number of times the FAT will die an order of
magnatude faster than the actuall data on the disk. Writting async greatly
improves the life of the device.