[ILUG] USB mass storage woes
Rick Moen
rick at linuxmafia.com
Thu Jul 29 18:44:54 IST 2004
Quoting Colm Buckley (colm at tuatha.org):
> Under Linux, I almost always mount removeable storage with the "sync"
> option, as it makes the likelihood of accidental data loss considerably
> less. It also makes writes slower. You pays your money...
"-o dirsync" might also be worthwhile, though mount doesn't support it
for some filesystems. Haven't tried it; prefer to live dangerously and
beat myself severely if I forget to umount media. ;->
Manpage says:
dirsync
All directory updates within the file system should be done
synchronously. This affects the following system calls: creat, link,
unlink, symlink, mkdir, rmdir, mknod and rename.
More information about the ILUG
mailing list