Re: TTY changes to 2.1.65

Rik van Riel (H.H.vanRiel@fys.ruu.nl)
Thu, 27 Nov 1997 23:35:39 +0100 (MET)


On Thu, 27 Nov 1997, Gerhard Mack wrote:

> 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).

> How would this keep track of permissions? On my system I have some
> devices that I allow only certain users on.

We could 'remember' them and change them with chmod on
startup, via a small script in /etc/rc.d...
(see above)

The real problem with this scheme (which i completely
overlooked) is with alternative _naming_ schemes
(like scsidev, which I use myself!)

Rik.

----------
Send Linux memory-management wishes to me: I'm currently looking
for something to hack...