[8467] in linux-scsi channel archive
Re: inducing SCSI bus scan
daemon@ATHENA.MIT.EDU (Kurt Garloff)
Thu Mar 23 14:54:59 2000
Date: Thu, 23 Mar 2000 20:45:39 +0100
From: Kurt Garloff <garloff@suse.de>
To: "Eric Youngdale" <eric@andante.org>
Cc: "Ralston, Steve" <steve.ralston@lsil.com>,
"'linux-scsi'" <linux-scsi@vger.rutgers.edu>
Message-ID: <20000323204539.E1475@mobil.tue.nl>
Mail-Followup-To: "Eric Youngdale" <eric@andante.org>,
"Ralston, Steve" <steve.ralston@lsil.com>,
"'linux-scsi'" <linux-scsi@vger.rutgers.edu>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
protocol="application/pgp-signature"; boundary="AsxXAMtlQ5JHofzM"
In-Reply-To: <001101bf94f2$faa29a20$4d0310ac@fairfax.datafocus.com>; from eric@andante.org on Thu, Mar 23, 2000 at 01:09:49PM -0500
--AsxXAMtlQ5JHofzM
Content-Type: text/plain; charset=us-ascii
On Thu, Mar 23, 2000 at 01:09:49PM -0500, Eric Youngdale wrote:
> It is possible to manually do this through the /proc filesystem. In
> scsi.c there are comments which describe how this works:
>
> /*
> * Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
And here's a script to do it automatically for your while bus ...
http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
Look at Doug Gilbert's sg utils for different approaches.
Regards,
--
Kurt Garloff <garloff@suse.de> Eindhoven, NL
GPG key: See mail header, key servers Linux kernel development
SuSE GmbH, Nuernberg, FRG SCSI, Security
--AsxXAMtlQ5JHofzM
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1c- (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE42nRixmLh6hyYd04RAYCRAJsEX1uJQXLC9AEZLBzWxLXhYzVvLgCeKZTg
EUsx3oSQlQ3x6+bSYYFQpc0=
=xESi
-----END PGP SIGNATURE-----
--AsxXAMtlQ5JHofzM--
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu