How to use DFly sources via nfs?

Joerg Sonnenberger joerg at britannica.bec.de
Fri Jun 4 09:03:50 PDT 2004


On Fri, Jun 04, 2004 at 07:40:53AM -0700, walt wrote:
> Turns out that my 'quickworld' was looking for its missing files in
> /usr/obj/mnt/ instead of /usr/obj/ (because the src directory is
> /mnt/usr/src instead of /usr/src).
> 
> I just had to start over with a buildworld so all the tools were in the
> right place in /usr/obj/mnt/ and now all appears to be working.

That's exactly the kind of problem I meant. It does not happen with union or
null mounts, because getcwd(2) works across them. The behaviour of setcwd(2)
across symlinks is only emulated by the shell, but not in the kernel.

Joerg





More information about the Kernel mailing list