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

DAVID BALAZIC (david.balazic@uni-mb.si)
Thu, 17 Jun 1999 18:55:22 +0100 (MET)


From: Horst von Brand <vonbrand@inf.utfsm.cl>

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

Oops, I forgot that symlinks have no permissions...
And even if they had , it wouldn't work anyway :-(

--
David Balazic , student
E-mail   : 1stein@writeme.com     |     living in  sLOVEnija
home page: http://surf.to/stein
Computer: Amiga 1200 + Quantum LPS-340AT
--

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