Re: dev

Marek Michalkiewicz (marekm@i17linuxb.ists.pwr.wroc.pl)
Tue, 5 Nov 1996 22:20:49 +0100 (MET)


Karl R. Heyes:
> Here are some reasons why people have wanted a "dev-fs" system.
>
> 1. Number of entries. I've just looked at my system and I have well over
> 650 entries and I have nothing special on system.
>
> 2. Many unused entries. A standard setup will create many entries, even
> though you don't need them. Having unused entries affects the lookup of
> /dev.

I'm just wondering: why not start making use of directories in /dev?
This seems to be common practice on most UNIX systems these days.
/dev/vcs/63 instead of /dev/vcs63 - you get the idea. We have to
keep /dev/tty?? because many programs still make assumptions about
such tty device names, but that's all... Another example where we
have lots of devices: all the disk partitions. Maybe we should
adapt the /dev/dsk/c?t?d?s? convention from other systems? All this
should help making /dev shorter and lookups faster.
(This is not really kernel related - maybe it should be discussed
with the FHS group?)

Marek