Re: UUIDs (and devfs and major/minor numbers)

Horst von Brand (vonbrand@inf.utfsm.cl)
Thu, 17 Jun 1999 12:49:47 -0400


DAVID BALAZIC <david.balazic@uni-mb.si> said:
> An opinion about /dev :
>
> In the old system /dev is a collection of "links" from
> filenames to device numbers (major:minor).
>
> With devfs it could be a collection of links from
> filenames to /devfs/* entries.

By whom/how are permissions handled? Even if it's symlinks, the original
files in /devfs have to carry them (you can't follow symplinks to files you
can't access directly!). And that means the kernel has to know how to set
up permissions for a new device when it appears, and remember the settings
from one boot to the next. Gross. And a kludged initscript that sets them
up on each boot is even worse. As bad as the much-maligned MAKEDEV, but run
_each_ boot, so much more critical.

-- 
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/