lkml.org 
[lkml]   [1999]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: UUIDs (and devfs and major/minor numbers)
Date
From
o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s (david parsons) said:

[...]

> Symlinks are your friend. If you can't live without the dubious
> benefit of having the kernel not tell you information, but instead
> have to guess about what devices are, you can do this with symlinks.

Yet again: How do you manage permissions on this cleanly? It has to be
persistent (no "OK, after we boot this tiny script fixes up the whole
mess")? How do you propose to manage default permissions for devices that
might suddenly appear out of nowhere (i.e., USB or hot-pluggable PCI or
PCMCIA or...)? No, "one size fits all" won't do.

I'm not against some devfs type scheme per se, but this is important, and
devfs makes this problem _worse_ without solving much of the other problems
that are there. The current way of populating /dev with everything there
might ever be is broken, but gives you a clean, uniform way of setting
persistent permissions using standard tools.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513


-
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:52    [W:0.223 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site