bug-hurd
[Top][All Lists]
Advanced

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

Re: fakeroot status


From: Marcus Brinkmann
Subject: Re: fakeroot status
Date: Mon, 13 May 2002 23:05:11 +0200
User-agent: Mutt/1.3.28i

On Sun, May 12, 2002 at 10:21:35PM -0400, Roland McGrath wrote:
> > Ugh, netfs_attempt_lookup did not fail, but netfs_S_dir_lookup does!  This
> > is because it sees that S_ISCHR evaluates to true on the node.  Because
> > fakeroot has no translator started on the node yet, fshelp_fetch_root will
> > try to do so.
> 
> I see.  This is just a case of not matching the assumptions that netfs was
> originally written for.  netfs_S_dir_lookup is much too complicated a
> function to want to override with a duplicate version having a slight
> difference.  I think we should just add a hook to netfs to disable its
> special handling of special files.  

I tried the cruel way and just #if 0'ed out the whoel S_ISCHR... block (but
not the symlink handling), and it worked fine.  Which form should the hook
take?  A function that netfs_S_dir_lookup calls and that we override?

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]