lkml.org 
[lkml]   [1998]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: re-detect SCSi bus?
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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.064 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site