Re: [Networker] LTO tape drives on Linux
2008-10-09 15:54:13
In regard to: Re: [Networker] LTO tape drives on Linux, Francis Swasey said...:
Wouldn't putting something like:
post-install st /sbin/stinit
in the /etc/modules.conf file solve that problem? Assuming you have a
'/etc/stinit.def' file in place, I would think it would run stinit against
it before NW is started. That's how we do it, anyway. I have that line
listed last in modules.conf with no special entries in the NW startup
script itself. Also, the startup numbers for the NW scripts were kept as
installed:
I was not aware of that option. If Red Hat's modules.conf file can do it
-- all the more better. Yes, I have the proper /etc/stinit.def in place.
The modification was just to run /sbin/stinit as the first instruction in
the start() routine of the /etc/init.d/networker script -- So, this should
work just fine. I'll have to test it though...
I am rather confused why so many distros are still using modules.conf with a
2.6 kernel. modules.conf is obsolete and replaced by modprobe.conf. It just
seems that the distro makers don't know that and they insist on using clumsy
methods of converting from one to the other.
Yes, well... Red Hat Enterprise Linux v4 has moved to the modprobe.conf and
the post-install command is no longer valid. So, that option fails in
testing.
The exact same thing can be accomplished with slightly different syntax,
though. Look at the example given in the "install" section of the man
page for modprobe.conf.
Off the top of my head, you want something like
install st /sbin/modprobe --ignore-install st; /sbin/stinit
Tim
--
Tim Mooney Tim.Mooney AT ndsu DOT
edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the body of the email. Please write to networker-request
AT listserv.temple DOT edu if you have any problems with this list. You can access the
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|