Re: re-detect SCSi bus? Skript

Linux-Kernel Mail Account (kernel@whitestar.soark.net)
Sat, 21 Mar 1998 07:00:45 -0500 (EST)


<snip>
> >
> > 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....

I would test it but I kinda killed my SCSI card, anyone else willing to
try? (No, it was not linux which killed it, I was just a little clumbsy
when pulling 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