Re: re-detect SCSi bus? Skript

Linux-Kernel Mail Account (kernel@whitestar.soark.net)
Fri, 20 Mar 1998 07:26:16 -0500 (EST)


On Thu, 19 Mar 1998, wrote:

>
> > 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
>
> 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?

Zephaniah E, Hull
>
> Shalon Wood
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
>

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