[458] in linux-scsi channel archive
Re: Generic Scsi Driver Bug Report and comments.
daemon@ATHENA.MIT.EDU (Rob Janssen reading Linux mailingl)
Thu Aug 3 00:49:52 1995
From: linux@pe1chl.ampr.org (Rob Janssen reading Linux mailinglist)
To: Peter.Anvin@linux.org
Date: Wed, 2 Aug 1995 14:32:13 +0200 (MET DST)
Cc: submit-linux-dev-scsi@ratatosk.yggdrasil.com
In-Reply-To: <hpa.301f02d9.Linux.is.free@asgard.yggdrasil.com> from "H. Peter Anvin" at Aug 2, 95 04:51:56 am
Reply-To: linux-vger@wab-tis.rabobank.nl
According to H. Peter Anvin:
> It should be pretty easy to run a script at boot time to parse
> /proc/scsi/scsi and set up these types of links at boot time. It is
> then, however, essential to come up with one naming scheme that all
> can agree on, and it should involve all types of SCSI devices, not
> just the generic ones.
>
> Since the number of devices is likely to be quite large, it would
> probably be advisable to make it a /dev subdirectory (although I
> personally usually loathe them.)
I think the suggestion of having only a single /dev/sg and then use
an ioctl() to select the controller, id, and lun was more reasonable.
It avoids /dev pollution and the limitations of an 8-bit minor number.
Of course it does not address the problems with disks, tapes and cdroms.
Rob
--
+------------------------------------+--------------------------------------+
| Rob Janssen rob@knoware.nl | AMPRnet: rob@pe1chl.ampr.org |
| e-mail: pe1chl@wab-tis.rabobank.nl | AX.25 BBS: PE1CHL@PI8WNO.#UTR.NLD.EU |
+------------------------------------+--------------------------------------+