Subject: Re: SCSI identification
To: Matthew Fincham <matthewf@cat.co.za>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-users
Date: 10/04/2002 12:22:02
--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Fri, Oct 04, 2002 at 10:07:00AM +0200, Matthew Fincham wrote:
>=20
> I am looking for a way to extract a serial number (or some unique
> identification string) from a SCSI device. I am currently doing this
> with /dev/wd* devices by using an ATAIOCOMMAND ioctl, and am looking
> for an equivalent to use with SCSI devices.

have look at scsictl(8) and it's sources.

regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: 75B2 2B96 CD75 0385 1C49  39B8 8B08 C30E 54BC 7263     =
 --

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE9nWvKiwjDDlS8cmMRAgbdAJ95jB3AUFEzo5Eysa5cJ7xb6SMxBwCcCDGI
+Us4dX9XQpX9w+pLgnaHmIA=
=KtsC
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--