Re: Kernel-generated /dev...

ldd@step.polymtl.ca
Wed, 18 Oct 1995 13:50:45 -0400 (EDT)


On Mon, 16 Oct 1995, Colin Plumb wrote:

First of all: why a kernel-generated /dev?

> Here's one possible compromise... have /proc/dev have all of the devices,
> with their suggested names, owned by root, with permission 000.
>
> A simple script can move them to /dev and rename, chown and/or chmod
> them at boot time to useful values.

I'd rather see a single file containing all the necessary information.
The file would then be parsed by a utility to generate the appropiate
/dev/* files.

> Unix has lived with the wierd /dev system for a while, so it's
> definitely not fatal to stick with it, but that's an alternative to
> needing to put rename, chmod, chown, etc. into the kernel for a
> kernel-level /dev.

What would be the advantages of this over the current system? (BTW, the
chmod, chown and rename are _already_ in the kernel.)

ldd