FreeBSD Linux emulation / arla 0.34.6
Chris Csanady
ccsanady at iastate.edu
Mon Jan 29 03:38:55 CET 2001
>The problem is that linux_getdents uses a little too small buffer, arla
>uses (before the patch) a directory-blocksize of 1024 bytes. This make
>every entry that have its end past a 512 bytes offset disapper when running
>under linux-emulation.
>
>Love
That was quick. Really, I can't thank you enough for this.. This makes my
life considerably easier. :)
It seems kind of dangerous having these things hard coded--should the linux
compatibility code be fixed? I notice that there is a
#define DIRBLKSIZ 512 /* XXX we used to use ufs's DIRBLKSIZ */
at sys/compat/linux/linux_file.c:425. It is not clear to me what this
should be though.
Anyways, thanks again,
Chris
More information about the Arla-drinkers
mailing list