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: Wed, 8 May 2002 22:26:22 +0200
User-agent: Mutt/1.3.28i

On Wed, May 08, 2002 at 09:43:07PM +0200, Niels Möller wrote:
> Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:
> 
> > I am not sure what again looking up "" means for a Hurd server, and I don't
> > have time to investigate on this right now.
> 
> IIRC, dir_lookup of "" is equivalent to ".", and can be thought of as
> the middle component of the path "foo//bar", which is equivalent to
> "foo/bar". For posix calls, e.g. open, calling with "" is an error,
> probably ENOENT.
> 
> But I don't know is this meaning of "" is implemented in the client
> code or in the file server code.

The part you described is what glibc does.  The Hurd serves understand a
dir_lookup of "" as a request to get another port for the same file, IIRC.

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]