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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!