bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 7/7] trans: make the fakeroot environment more transparent


From: Samuel Thibault
Subject: Re: [PATCH 7/7] trans: make the fakeroot environment more transparent
Date: Wed, 4 Dec 2013 21:33:43 +0900
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Wed 04 Dec 2013 12:11:56 +0100, a écrit :
> Previously fakeroot did not explicitly proxy io_identity requests, so
> the default implementation from libnetfs handled them. But as the fsys
> identity port returned was always netfs_fsys_identity, this broke the
> getcwd logic (assuming /media/scratch is a translator):
> 
> % cd /media/scratch/foo && fakeroot-hurd pwd
> /foo
> 
> Fix this by proxying io_identity requests. Since then no-one is
> handing out our netfs_fsys_identity port anymore, an optimization in
> netfs_fsys_identity is made obsolete by this change.
> 
> * trans/fakeroot.c (netfs_S_dir_lookup): Adjust code accordingly.
> (netfs_S_io_identity): New function.

Ack.



reply via email to

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