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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:32 EST