help-hurd
[Top][All Lists]
Advanced

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

Re: netfs part of a console server with server-client model


From: Thomas Bushnell, BSG
Subject: Re: netfs part of a console server with server-client model
Date: 02 Jun 2002 12:53:35 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Wolfgang Jährling <wolfgang@pro-linux.de> writes:

> >   if (strcmp (name, "..") == 0)
> >     {
> >       /* Parent directory -- if this is the root directory, return
> >          EAGAIN.  Otherwise return the root node, because we know
> >          that our hierarchy is only one level deep.  */
> 
> Why do we return EAGAIN in this case? I don't understand that (and
> neither did the people I was asking about it on #hurd).

EAGAIN in this case is not actually an error.  It's a signal to the
caller that the lookup was for ".. from the root directory", which
requires special work.

Thomas



reply via email to

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