Linux-kernel mailing list archive 1998-10,: Re: re-detect SCSi bus?

# Re: re-detect SCSi bus?

Robert L Harris (nomad@rocky.orci.com)
Fri, 13 Mar 1998 20:51:26 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Peeter Joot: "removing small ipc message size limitation?"
- Previous message: Theodore Y. Ts'o: "Re: [patch] x86, small syscall entry speedup, 2.1.90"

On Fri, Mar 13, 1998 at 08:33:41AM +0100, Kurt Garloff wrote:
> On Thu, Mar 12, 1998 at 07:53:17PM -0700, Robert L Harris wrote:
> > After boot up, is it possible to have the system re-detect devices on my
> > scsi bus so I can turn on my tape or scanner and not have to reboot in
> > order to use them?
>
> echo "scsi add-single-device A B C D" >/proc/scsi/scsi
> echo "scsi remove-single-device A B C D" >/proc/scsi/scsi
>
> allows you to add resp. remove devices from the SCSI bus. Type /t
> /proc/scsi/scsi to see if it's been successful.
>
> A: # of the SCSI host adapter
> B: # channel (mostly 0)
> C: SCSI ID
> D: SCSI LUN (mostly 0)
>

When I did a cat /proc/scsi/scsi it gave a nice readout of my devices.
Now I got this:

{0}:dogbert:/root>echo "scsi remove-single-device 1 0 2 0" > scsi
{0}:dogbert:/root>cat scsi
scsi remove-single-device 1 0 2 0
{0}:dogbert:/root>

and that's all thats in /proc/scsi/scsi...

Did I miss something?

---------------------------------------------------------------------------
Robert L. Harris | NT is secure....
System Engineer For Hire. \_ as long as you don't remove the shrink wrap.

http://www.orci.com/~nomad

DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

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

- Next message: Peeter Joot: "removing small ipc message size limitation?"
- Previous message: Theodore Y. Ts'o: "Re: [patch] x86, small syscall entry speedup, 2.1.90"