Heya.
I'm using a 2.4.0-pre kernel, with the kmod module loader active, and
an entry in root's crontab to periodically call `rmmod -a`, as per the
kernel docs.

I'm also using a program called usbmgr
(http://www.wonder.ne.jp/~shuu/usbmgr), which runs as a daemon,
detecting when USB devices are connected/disconnected (keying off
/proc/usb/devices), and automagically loads/unloads the required
modules for each one.  Nifty.

The problem is that I have a USB Zip drive which is basically
permanently connected.  usbmgr finds it at boot, and loads the
usb-storage module for it.
Of course, unless a Zip disk is actually mounted, the next time cron
calls `rmmod -a`, the usb-storage module is removed, and I need to add
it by hand when I want to use the drive.  Yucky.

I _think_ it's happening because usbmgr is labeling the module as
autoclean-able, but I want the module to hang around until it's been
explicitly rmmod-ed (if that makes sense :-).  I didn't see anything
helpful in the manpages for modprobe or insmod, and the
usbmgr docs aren't of much help either.  Does anybody here have any
suggestions?

Cheers,
Peter


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to