Re: If we cannot change file system semantics, we must concede that

Hans Reiser (reiser@ceic.com)
Thu, 1 Jul 1999 13:52:11 +0000 (/etc/localtime)


open("/etc/", O_RDONLY) then, I don't get your point.

Hans

Matthew Kirkwood writes:
> On Thu, 1 Jul 1999, Hans Reiser wrote:
>
> > > Aha - so Hans want open() to work on directories only when app does
> > > open("/etc", O_OPEN_DIRECTORY_AS_FILE)
> > >
> > > ? That will not break anything, but I doubt it is better than
> > > open("/etc#opendirasfile", O_RDONLY)
> >
> > How about open("/etc/", O_RDWR)?
> >
> > With the user library translating that to open("/etc/..body", O_RDWR)
>
> You lose the ability to have these things read only in that case.
>
> Not ideal...
>
> Matthew.

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