SLUG Mailing List Archives
Re: [SLUG] Hotplug and cached Disk writes
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Hotplug and cached Disk writes
- From: Steve Downing <steve@xxxxxxxxxxxxx>
- Date: Thu Sep 27 09:42:01 2001
- Reply-to: steve@xxxxxxxxxxxxx
I didn't even think about modutils, thanks Peter! You'd just have
to make sure hotplug was rmmod'ing the unused modules properly. And
mtools sounds even better if it bypasses all the kernel stuff.
Time to look into customising 'mc' so it has copy and mcopy, or look
deeper into 'sync' as suggested by gus.
>hotplug doesn't really have a pre- or post- removal mechanism, but
>does. Stick something like
>pre-remove usb-storage umount -f /path/to/mountpoint
>in your /etc/modutils.conf to make sure the filesystem gets unmounted.
>It'll leave your system without any stale mounts, but there's a
>chance you'll lose data.
>Because Linux is funky, and there is always a way.
My thoughts exactly!! It's finding the light that shows you they
way thats not always easy.
The most exciting phrase to hear in science,
the one that heralds new discoveries, is not
"Eureka!" but "That's funny..."' - Isaac Asimov