[PATCH] hal: Allow vfat option 'usefree'

Martin Pitt martin at piware.de
Tue Oct 23 03:32:33 PDT 2007


Hello hal developers,

This patch allows users to set the VFAT mount option 'usefree'.

Background: https://launchpad.net/bugs/133567
  On current kernels, calling statfs() right after mounting a VFAT
  partition (e. g. nautilus window opening for new mounts) blocks for
  an awful amount of time (magnitude of a minute), during which the
  nautilus window, df command, etc. is completely dead. Using this
  option uses the old method of detecing free blocks (which might be
  wrong under certain circumstances, but fast). Until the kernel is
  fixed properly, this should be allowed. Please see the Ubuntu bug
  above for links to some kernel background.

Thanks,

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 80_allow_vfat_usefree.patch
Type: text/x-diff
Size: 828 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071023/e8377b46/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/hal/attachments/20071023/e8377b46/attachment.pgp 


More information about the hal mailing list