Re: devfs patch v3

Jakub Jelinek (jj@sunsite.ms.mff.cuni.cz)
Sun, 11 Jan 1998 09:50:43 +0100 (MET)


> sd_hHcCiIlL
>
> where <H> is the host controller number, <C> is the channel number,
> <I> is the SCSI disc ID, <L> is the LUN.
> For a single partition it looks like this:
>
> sd_hHcCiIlLpP
>
> where <P> is the partition number. So, for example sd_h0c0i3l0p2
> corresponds to sdd2 on my system.

Wouldn't it be better to use subdirectories as much as possible?
I know it will be more difficult to implement, but will make things look
nicer, readdir faster, etc.
What about
/dev/sd/hHcCiIlL
/dev/sd/hHcCiIlLpP
/dev/pts/N
/dev/scd/hHcCiIlL /* current cdrom code doesn't use partitions */
...

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.0.32 on a sparc machine (291.64 BogoMips).
___________________________________________________________________