lkml.org 
[lkml]   [1999]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: devfs again, (was RE: USB device allocation)
On Wed, 6 Oct 1999, Shawn Leas wrote:

> >Names _are_ policy. So now I have to hack the kernel to rename the mouse?
>
> No. Used symlinks, which, with devfsd, BTW, are persistent.

A thought, that I'm sure has been said before, but...

/devices -- devfs mountpoint
/dev -- symlinks in to /devices

devfs then adds option to have /devices just be a crapload of
files named 'major,minor' in the old fashion. ;)

The problem here is, how do you give permissions to symlinks?
That's really the kicker, but fix that, and you may have something...

I realize this is ugly, but some way to store the permissions in
the symlink, or have something in there devfs can read real quick to determine
if you have permission? I somehow fear a hardlink-type thing wouldn't work
too well either, but this seems like something that should be possible to
do, perhaps not, tired, end of day, time ta go home. :)

Stephen


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.032 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site