On Sat, Sep 29, 2007 at 08:55:23AM -0700, Andrew Sackville-West 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.
You could also run 'sync;umount /dev/sda1' before unplugging, just to be sure. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
signature.asc
Description: Digital signature