Re: re-detect SCSi bus? Skript

Daniel Rogers (shalon@interlock.dfw.ibm.com)
Fri, 20 Mar 1998 09:43:50 -0600


Date: Fri, 20 Mar 1998 07:26:16 -0500 (EST)
From: Linux-Kernel Mail Account <kernel@whitestar.soark.net>
X-Sender: kernel@WhiteStar
Cc: garloff@kg1.ping.de, wa3dsp@marconi.crompton.com,
linux-kernel@vger.rutgers.edu
Content-Type: TEXT/PLAIN; charset=US-ASCII

>
> Ok. Next question is what happens if you try to add a device that's already there? IE, 'cat `echo scsi add-single-device 0 0 1 0` >/proc/scsi/scsi' when that device is already known?

Better question, what happens if you try and remove a device which is in
use? For a total reprobe you have to allow for the fact that your going to
be removing too, might need to add checks to see if the device is busy
before trying to pull it?

Good question. I would *assume* that it would simply fail if the
device was in use, but you know what they say about assuming....

Shalon Wood

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu