[6083] in linux-scsi channel archive
Re: SCSI generic interface addition
daemon@ATHENA.MIT.EDU (Matthias Andree)
Fri Mar 12 18:05:31 1999
Date: Fri, 12 Mar 1999 19:42:06 +0100
From: Matthias Andree <mandree@sx1.HRZ.Uni-Dortmund.DE>
To: linux-scsi@vger.rutgers.edu
Mail-Followup-To: linux-scsi@vger.rutgers.edu
In-Reply-To: <36E84A78.1C7A5D48@arkady.demon.co.uk>; from Bernard Hatt on Thu, Mar 11, 1999 at 10:58:00PM +0000
On Thu, Mar 11, 1999 at 10:58:00PM +0000, Bernard Hatt wrote:
> My two generated directories contain:
>
> bmh@nevermind]$ ls -l /proc/sg/type
> lr-xr-xr-x 1 root root 0 Mar 11 21:29 ARCHIVE_VIPER_150_21247 -> /dev/sgb
> lr-xr-xr-x 1 root root 0 Mar 11 21:29 IBM_DCAS-34330 -> /dev/sgc
What if I have two of them? We cannot have two inodes with the same
name. Append serial numbers of the drive, assuming that they are
different?
Seems to be a quite good solution anyhow, yet, you can just as well
enumerate /proc/scsi/scsi, it's just less convenient than your
solution.
--
Matthias Andree
"Users never read manuals."
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu