Re: o_sync in vfat driver



On Mon, 2006-02-27 at 08:28 -0500, Lennart Sorensen wrote:
On Sun, Feb 26, 2006 at 11:50:40PM +0100, col-pepper@xxxxxxxxxxx wrote:
Hi,

OMG what do I have to do to post here? 10th attempt.
{part2}

Here is a non-exhaustive list of typical devices types requiring fat vfat
support:

fd ide-hd scsi-hd usb-hd cdrom usb-hd usb-handheld (iPod, iRiver etc)
usb-flash (usbsticks, cameras, some music devices.)

IIRC the sync mount option for vfat is ignored for file systems >2G, this
effectively (and probably intentionally) excludes nearly all hd partitions
and iPod type devices.

I think many people wish it was ignored on smaller devices too given
what it does to write performance.

well. If you don't want it *DO NOT USE IT AT THE MOUNT COMMAND LINE* !!!



And if your device is flash based
and is one of the ones that doesn't have proper wear leveling the card
won't last long with sync enabled (even with wear leveling rewriting the
fat that often as sync seems to do can't be good for the lifespan of the
flash).

patient> doctor doctor it hurts when I do this
doctor> Then don't do that





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: o_sync in vfat driver
    ... Here is a non-exhaustive list of typical devices types requiring fat vfat ... If you don't want it *DO NOT USE IT AT THE MOUNT COMMAND LINE*!!! ... Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK ...
    (Linux-Kernel)
  • o_sync in vfat driver
    ... Here is a non-exhaustive list of typical devices types requiring fat vfat ... usb-flash ... IIRC the sync mount option for vfat is ignored for file systems>2G, ...
    (Linux-Kernel)