Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2007 15:57:44 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@freebsd.org, sam <samflanker@gmail.com>
Subject:   Re: linuxolator problem on i386
Message-ID:  <20070918135744.GA43757@freebsd.org>
In-Reply-To: <89761386@srv.sem.ipt.ru>
References:  <64815375@srv.sem.ipt.ru> <46EF62C5.5090704@gmail.com> <00483937@srv.sem.ipt.ru> <46EF7E05.5040405@gmail.com> <20070918074332.GA30053@freebsd.org> <88000019@srv.sem.ipt.ru> <20070918082119.GA30932@freebsd.org> <89768331@srv.sem.ipt.ru> <20070918111743.GA37861@freebsd.org> <89761386@srv.sem.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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) {
            



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070918135744.GA43757>