Michael Reifenberger wrote:
> linux ls fails on DEVFS /dev because linux_getdents fails because
> linux_getdents uses VOP_READDIR( ..., &ncookies, &cookies ) instead of
> VOP_READDIR( ..., NULL, NULL ) because it seems to need the offsets for
> linux_dirent and size
In message <[EMAIL PROTECTED]>, Robert
Watson writes:
>
>I reported this problem on the linprocfs and procfs modules a while back
>while playing with a complete Linux environment under jail(). So clearly
>we have a general problem among our synthetic file systems with regards to
>the linux emula
FreeBSD Core Team, TrustedBSD Project
[EMAIL PROTECTED] NAI Labs, Safeport Network Services
On Sun, 5 Aug 2001, Michael Reifenberger wrote:
> Hi,
> linux ls fails on DEVFS /dev because linux_getdents fails because
> linux_getdents uses VOP_READDIR( ..., &ncookies, &
On Sun, 5 Aug 2001, Poul-Henning Kamp wrote:
...
> Open a PR so I don't forget and please include how I can reproduce it
> while I test.
Done.
In the meantime a first (but yet untested) patch to devfs_vnops.c is
attached.
Bye!
Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS
--- devfs_
In message <20010805104350.A1188-10@nihil>, Michael Reifenberger writes:
>Hi,
>linux ls fails on DEVFS /dev because linux_getdents fails because
>linux_getdents uses VOP_READDIR( ..., &ncookies, &cookies ) instead of
>VOP_READDIR( ..., NULL, NULL ) because it see
Hi,
linux ls fails on DEVFS /dev because linux_getdents fails because
linux_getdents uses VOP_READDIR( ..., &ncookies, &cookies ) instead of
VOP_READDIR( ..., NULL, NULL ) because it seems to need the offsets for
linux_dirent and sizeof(dirent) != sizeof(linux_dirent)...
If I eliminate t