linuxolator problem on i386

Roman Divacky rdivacky at freebsd.org
Tue Sep 18 06:57:47 PDT 2007


On Tue, Sep 18, 2007 at 05:38:45PM +0400, Boris Samorodov wrote:
> On Tue, 18 Sep 2007 13:17:43 +0200 Roman Divacky wrote:
> 
> > also.. please tell me the value of the "count" argument to the
> > getdents() syscall that the program emits and possibly alter the
> > getdents.c to use the same value ;)
> 
> Roman, didn't understand that. Can you elaborate, please?

instead of

   while ((error = getdents(fd, buf, MAX*sizeof(struct dirent))) > 0) {

put there

   while ((error = getdents(fd, buf, 4096)) > 0) {
            


More information about the freebsd-emulation mailing list