On Mon, Jun 12, 2000 at 11:59:37AM +0100, David Murphy wrote:
> Question for people more familiar with the Linux kernel's module
> strategy - how to I make my SCSI CD, CD-RW, Zip and Tape dependent on
> the Adaptec so that its module gets loaded when any of those devices
> gets accessed. Or, better yet, can I 'wire down' which targets on
> which buses get mapped to which devices (as you can on FreeBSD).
man modprobe
look for pre-install and post-remove options.
Then when you do
modprobe scsi-cd or whatever, it'll automagically load whichever
module you told it to. Then, instead of rmmod, do modprobe -r.
Just be prepared for the 10 second wait while the devices
wake up. I suspect you'll have some problems with loading
them seperately, so I'd suggest loading everything at once
(SCSI CD, Generic, Zip and tape devices)
L.
--
Liam Bedford | Obscure, la force est noire
System Administrator | Comme le chateau où flotte l'etendard,
WBT Systems, Block 2, | notre drapeau. Sois sûr, que sous les
Harcourt Centre, Harcourt St. | feux, la verite est masquee
01-4170100 | Viens, bascule de notre côte, obscur
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!