On Sat, 29 Sep 2007 08:55:23 -0700 Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> On Sat, Sep 29, 2007 at 11:27:35AM -0400, Max Hyre wrote: > > Andrei Popescu wrote: > >> The package usbmount might be what you need. > > > > The description of usbmount says: > > > > This package automatically mounts USB mass > > storage devices (typically USB pens) when they > > are plugged in, and unmounts them when they are > > removed. > > > > Does this limit filesystems to FAT? FAT doesn't care if you rip it out > > without doing any cleanup. If you've formatted your thumbdrive as an ext2 > > filesystem, how can it be properly unmounted if you simply unplug it? > > Won't that mean you have to run fsck every time you plug it in again? > > maybe mount with sync instead of async, though mount warns of > life-shortening possibilities with flash stuff. probably a good idea > to go for noatime also to help coutneract that. Both of those would > minimise the risk of damage -- so long as the current process was > done, you could pull it. that just a guess. check man mount. >From the usbmount README: > Vfat Filesystems > ---------------- > > Filesystems of type vfat are not considered by default, despite being > popular for many USB devices, because the Linux kernel does not yet > fully implement sync-mounting for this filesystem type. This means that > you risk losing data or even corrupting the filesystem if you remove the > medium before all data has been written to it. If you include vfat in > the FILESYSTEMS configuration variable, you *MUST* run the 'sync' > command before removing the device. So ext works via sync-mounting, and vfat requires manual syncing. > A Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]