[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usbmount: automatically mount and unmount USB mass storage devices



Martin Braure de Calignon <braurede@free.fr> writes:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Martin Dickopp a écrit :
>
> |Martin Braure de Calignon <braurede@free.fr> writes:
> |
> |>Be carreful, I heard that sync has not been implemented with FAT
> |>filesystem. Of course it does not matter if you use anther filesystem.
> |>That's why Mandrake (:/) needed to made a patch on the kernel to make
> |>sync available on fat usb disks.
> |
> |
> |Hmm. Do you have a reference for that?
> |
> |A quick test with kernel 2.6.8-1 revealed that writing a large file to a
> |floppy is very fast (and the subsequent unmount slow) if the floppy is
> |async-mounted, while writing the same file is slow (and the subsequent
> |unmount fast) if the floppy is sync-mounted. This is the case with both
> |the "vfat" and the "msdos" filesystems. So at least there seems to be
> |some difference between a sync-mount and an async-mount.
> |
> |Martin
>
> well I've just find it in 'man mount'
> It says : (sorry it is translated from french, so probably inexact)
> "for exemple sync is only effective with ext2, ext3 and ufs"

My mount man page says that, too. I'll have to check if this is still
true with current kernels and otherwise submit a bug report against the
man page.

Martin


-- 
   ,--.                                          ,= ,-_-. =.
  / ,- )    Martin Dickopp, Dresden, Germany    ((_/)o o(\_))
  \ `-'        http://www.zero-based.org/        `-'(. .)`-'
   `-.                                               \_/



Reply to: