Date: Tue, 18 Sep 2007 13:17:43 +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: <20070918111743.GA37861@freebsd.org> In-Reply-To: <89768331@srv.sem.ipt.ru> References: <20070916205434.GA70997@freebsd.org> <20070917152625.GA507@freebsd.org> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 18, 2007 at 12:38:28PM +0400, Boris Samorodov wrote: > On Tue, 18 Sep 2007 10:21:19 +0200 Roman Divacky wrote: > > > so.. to restate facts... > > We are talking about 2.6.16. > > > 1) the program works ok with fc4 but not with fc6 > > Yes. > > (I'm curiuos why with fc4 getdents64() is used but with fc6 > getdents() does?) > > > 2) when the directory is moved it works ok > > Yes. And I suppose if some files are deletted the program should > work. > > > 3) when my bad patch made getdents() return error the program works ok > > Yes, and this is the same as if delete directory. > > > is all of this true? > > Yep! Thanks for taking care of it. ok... please download www.vlakno.cz/~rdivacky/getdents.c and run it in the problematic directory. then run "ls -a" and compare outputs... 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 ;) thank you roman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070918111743.GA37861>