cleaner handling of mount point disappearance
Dan Mahoney, System Admin
danm at prime.gushi.org
Thu Sep 9 10:52:28 PDT 2004
Assume I have a USB hard drive attached to my machine.
Is there any way to make it so that, in the event the drive is mounted and
disappears (i.e. is unplugged), the system doesn't vomit on itself (i.e.
I can deal with the fact that data may not be written cleanly to the
drive, and that the dirty bit will stay set, and I'm contemplating playing
with automount as well, but it won't help the fact that assuming I cd
/backupdrive, leave the system sitting there (i.e. no data writes), and
unplug the drive without a umount, the system will go kerplooey.
"Hey, call me anything you like. I'm Dan to my friends, gushi to my
close friends, 'hey, you' to my girlfriend, 'mrrow?' to my cat, and 'why
the hell is the router on fire?' to my job.
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
More information about the freebsd-questions