[4972] in linux-scsi channel archive
Re: Howto: rescan scsi bus after a hot swap ??
daemon@ATHENA.MIT.EDU (Chris Atenasio)
Thu Oct 22 20:25:39 1998
Date: Thu, 22 Oct 1998 20:22:55 -0400 (EDT)
From: Chris Atenasio <chrisa@ultranet.com>
To: Hardware Stuff <mrfixit@clouddancer.com>
cc: linux-scsi@vger.rutgers.edu, ncr53c810@Colorado.EDU
In-Reply-To: <199810222340.QAA06404@lennie.clouddancer.com>
On Thu, 22 Oct 1998, Hardware Stuff wrote:
> Is there a simple command (or even a tough one) to rescan the bus to
> determine the new ID, etc? I've seen such a program on Macintoshes,
> so surely Linux....
But of course! This is Linux we're talking about! :)
From /usr/src/linux/drivers:
/*
* Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
* with "0 1 2 3" replaced by your "Host Channel Id Lun".
* Consider this feature BETA.
* CAUTION: This is not for hotplugging your peripherals. As
* SCSI was not designed for this you could damage your
* hardware !
* However perhaps it is legal to switch on an
* already connected device. It is perhaps not
* guaranteed this device doesn't corrupt an ongoing data transfer. */
- Chris
-----------------------------------------------------------------------------
Chris Atenasio <chrisa@ultranet.com> - Friends don't let friends use Windows.
Send me mail subject "send pgp key" or "word of the day" for auto-response.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu