On 3/21/2011 9:49, Francois Tigeot (via DragonFly issue tracker) wrote:
>
> New submission from Francois Tigeot<ftigeot@wolfpond.org>:
>
> While investigation a ld-elf.so.2 error, I found out the following call returns
> a non-zero value in a chroot:
>
> fstatfs(fd,&fs)
>
> the returned value is actually ENOENT, but the corresponding file exists
I followed the path a bit and it fails in cache_fullpath() in
sys/kern/vfs_cache.c in line #3281 in the "if (ncp == NULL)" check.
Sascha