linux emulation: / resolves to real root dir; why ?

2004-10-22 Thread Andriy Gapon
Under Linux emulation / resolves to real root directory, not /compat/linux directory and I am very curious why this is so. I see that in linux_emul_convpath() there is a special check for this case with the following comment: /* * We now compare the vnode of the linux_root to the one * vnode

Re: linux emulation: / resolves to real root dir; why ?

2004-10-22 Thread Konrad Heuer
On Fri, 22 Oct 2004, Andriy Gapon wrote: Under Linux emulation / resolves to real root directory, not /compat/linux directory and I am very curious why this is so. I see that in linux_emul_convpath() there is a special check for this case with the following comment: /* * We now compare

Re: linux emulation: / resolves to real root dir; why ?

2004-10-22 Thread Chris Howells
On Friday 22 October 2004 12:18, Konrad Heuer wrote: Linux binaries often need to access files outside the emulation directory tree, just think of data files in the user's homes when running applications like acroread, linux-mozilla, staroffice etc. So you absolutely need to break out. Yes.

Re: linux emulation: / resolves to real root dir; why ?

2004-10-22 Thread Andriy Gapon
on 22.10.2004 14:18 Konrad Heuer said the following: On Fri, 22 Oct 2004, Andriy Gapon wrote: Linux binaries often need to access files outside the emulation directory tree, just think of data files in the user's homes when running applications like acroread, linux-mozilla, staroffice etc.