![]() | |||||||||||||
Messages in this thread |
On Wed, Mar 18, 1998 at 05:14:17PM -0600, shalon@interlock.dfw.ibm.com wrote: > Hmm. I'm not *that* familiar with SCSI, but I would assume that that > add-single-device would fail if there was no device attached, yes? How > hard would it be to write a script that simply checked to see how many > hosts you had, how many channels you had, and what devices were > already know. Then it would simply run down the list of "Host Channel > Id" skipping any which were already known. You also could give the > script an Id to check all LUNs on. > > This is of course assuming that there are no bad side effects to > trying to add a nonexistant SCSI device; I'll take a look when I get > home tonight and have source. I wrote a little skript. Have a look at it ... It takes some options. > On a similar note, is there a 'remove-single-device command'? How hard > would it be to add? There is. Exactly with the name you guessed. Linux is that easy sometimes. -- Kurt Garloff, Dortmund <K.Garloff@ping.de> PGP key on http://student.physik.uni-dortmund.de/homepages/garloff [unhandled content-type:application/x-sh] | ||||||||||||
| Last update: 2005-03-22 12:41 [W:0.184 / U:0.040 seconds] ©2003-2008 Jasper Spaans | |||||||||||||