Re: TTY changes to 2.1.65

Gerhard Mack (gmack@ntonline.com)
Thu, 27 Nov 1997 14:22:22 -0800 (PST)


On Thu, 27 Nov 1997, Rik van Riel wrote:
[snip]
> We could implement /dev in the same way we implement /proc...
> Device drivers can register/unregister their device files in
> /dev and they get assigned a 'device number' for each device
> they allocate (no need for major/minor numbers)
>
> For devices that are compiled-in some script in /etc/rc.d
> could change the permissions to the wanted ones.
> Loadable modules could get the dev_perm=0600 or whatever
> as a command-line option (from /etc/conf.modules).
>
> This would probably cost us 10 to 20 k of kernel-mem, but
> that's a small price to pay (even on a 4M machine) for
> making things _work_ in all circumstances...
>
> No need to ever assign major/minor numbers again would
> also help people who built a custom device driver or
> made a kernel-patch for some driver (without registering
> a major with Linus).
>
> comments wanted,
>
> Rik.
How would this keep track of permissions? On my system I have some
devices that I allow only certain users on.

Gerhard