linuxolator problem on i386

Roman Divacky rdivacky at freebsd.org
Tue Sep 18 04:17:58 PDT 2007


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


More information about the freebsd-emulation mailing list