Re: LANANA: To Pending Device Number Registrants

H. Peter Anvin
2001-05-16T01:05:20Z

Daniel Phillips wrote:
>
> Sounds like "treat it like a file and it acts like a file, treat it
> like a directory and it acts like a directory".
>

The original plan was that you only could indirect through it; not
chdir() for example. One could do the whole enchilada, but then one
would have to expect that open() could have very different effects with
and without O_DIRECTORY (and open() on directories without O_DIRECTORY
should be outlawed with prejudice.)

-hpa

--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."