public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: removing a single device?
@ 2003-05-10  0:11 Douglas Gilbert
  2003-05-12 14:12 ` Robert L. Harris
  2003-07-02 19:39 ` Robert L. Harris
  0 siblings, 2 replies; 5+ messages in thread
From: Douglas Gilbert @ 2003-05-10  0:11 UTC (permalink / raw)
  To: linux-kernel, Robert.L.Harris

Robert L. Harris wrote:
 > A long time ago I used to be able to do:
 >
 > echo "scsi add-single-device 0 0 11 0" > /proc/scsi/scsi
 > echo "scsi remove-single-device 0 0 11 0" > /proc/scsi/scsi
 >
 > When I wanted to unplug a SCA scsi drive for replacement.  I tried this
 > recently on my 2.4.20 kernel and nothing happened.  No errors, no change
 > to /proc/scsi/scsi, no entry in dmsg, it just ignored it.  Has this been
 > deprecated for a new way of removing hotswap drives?

Robert,
It is not deprecated (and is still present in the lk 2.5
development series since we still have no other way of
doing this from the user space).

The parsing of that expression is very rigid: no tabs
or redundant spaces.

Doug Gilbert


^ permalink raw reply	[flat|nested] 5+ messages in thread
* removing a single device?
@ 2003-05-09 19:58 Robert L. Harris
  0 siblings, 0 replies; 5+ messages in thread
From: Robert L. Harris @ 2003-05-09 19:58 UTC (permalink / raw)
  To: Linux-Kernel

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]



A long time ago I used to be able to do:

echo "scsi add-single-device 0 0 11 0" > /proc/scsi/scsi
echo "scsi remove-single-device 0 0 11 0" > /proc/scsi/scsi


When I wanted to unplug a SCA scsi drive for replacement.  I tried this
recently on my 2.4.20 kernel and nothing happened.  No errors, no change
to /proc/scsi/scsi, no entry in dmsg, it just ignored it.  Has this been
deprecated for a new way of removing hotswap drives?

Thanks,
  Robert

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | PGP Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert@ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert@mail.rdlg.net	http://www.rdlg.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-07-02 19:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-10  0:11 removing a single device? Douglas Gilbert
2003-05-12 14:12 ` Robert L. Harris
2003-05-12 21:09   ` Patrick Mansfield
2003-07-02 19:39 ` Robert L. Harris
  -- strict thread matches above, loose matches on Subject: below --
2003-05-09 19:58 Robert L. Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox