[ILUG] SCSI devices
Paul Jakma
paulj at itg.ie
Thu Jun 15 12:01:19 IST 2000
On Thu, 15 Jun 2000, Caolan McNamara wrote:
> I could have sworn that this suggestion was mooted occasionally
> on linux kernel and that someone was working on it as a serious
> proposition. I might scan the archives so see if Im imagining it
>
it works here:
[paulj at rossi uml]$ ls -l /dev/ide/host0/bus0/target{0,1}/lun0
/dev/ide/host0/bus0/target0/lun0:
total 0
brw------- 1 root root 3, 0 Jan 1 1970 disc
brw------- 1 root root 3, 1 Jan 1 1970 part1
brw------- 1 root root 3, 10 Jan 1 1970 part10
brw------- 1 root root 3, 11 Jan 1 1970 part11
brw------- 1 root root 3, 12 Jan 1 1970 part12
brw------- 1 root root 3, 5 Jan 1 1970 part5
brw------- 1 root root 3, 6 Jan 1 1970 part6
brw------- 1 root root 3, 7 Jan 1 1970 part7
brw------- 1 root root 3, 8 Jan 1 1970 part8
brw------- 1 root root 3, 9 Jan 1 1970 part9
/dev/ide/host0/bus0/target1/lun0:
total 0
brw-rw-rw- 1 root root 3, 64 Jan 1 1970 cd
also has handy link directories like /dev/cdroms, which will have links to
all your cd's (be they ide, scsi, etc..):
[paulj at rossi uml]$ ls -l /dev/cdroms/
total 0
lr-xr-xr-x 1 root root 33 Jan 1 1970 cdrom0 ->
../ide/host0/bus0/target1/lun0/cd
there's a /dev/disc aswell, for hard disks..
etc...
this is in 2.4 and also as a patch to 2.2.
> C.
>
>
>
--paulj
More information about the ILUG
mailing list