bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rm patch suggestion


From: Marcus Brinkmann
Subject: Re: rm patch suggestion
Date: Thu, 9 May 2002 15:23:21 +0200
User-agent: Mutt/1.3.28i

On Thu, May 09, 2002 at 10:50:00AM +0200, Niels Möller wrote:
> tb@becket.net (Thomas Bushnell, BSG) writes:
> 
> > As it sits now, the that lookup (".", O_NOTRANS) gives you the node
> > itself, and lookup (".", 0) starts the translator and gives you its
> > root.
> 
> And if CWDIR is the translated node, then lookup (".", O_NOTRANS)
> gives you the underlying node

I don't think this is true.
Well, first, this only could possible be so reasonably in the root
directory of the translator.  And I think that looking up . with
O_NOTRANS gives you the translator's root node and not the underlying
node.  The purpose of O_NOTRANS is to not get to a translator _on top of it_
(who said there can only be one translator?).

So, looking up "." gives you the top most translator, and there is no way
back.  Looking up "." with O_NOTRANS gives you the current level without
going up.

Note that there is no way to get levels inbetween if the translators don't
provide them.

Mmmh, need to ponder this more.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]