cleaner handling of mount point disappearance
Dan Mahoney, System Admin
danm at prime.gushi.org
Thu Sep 9 10:52:28 PDT 2004
Hey guys,
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.
kernel panic?)
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.
Any ideas?
-Dan Mahoney
--
"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.
-Dan Mahoney
12/2/02
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
More information about the freebsd-questions
mailing list