From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 18 11:17:58 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63D6616A419 for ; Tue, 18 Sep 2007 11:17:58 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 06AB513C442 for ; Tue, 18 Sep 2007 11:17:57 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id A77DB667877; Tue, 18 Sep 2007 13:17:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u-NVjoGBiMpd; Tue, 18 Sep 2007 13:17:43 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 9F0E7667875; Tue, 18 Sep 2007 13:17:43 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l8IBHhJw037954; Tue, 18 Sep 2007 13:17:43 +0200 (CEST) (envelope-from rdivacky) Date: Tue, 18 Sep 2007 13:17:43 +0200 From: Roman Divacky To: Boris Samorodov Message-ID: <20070918111743.GA37861@freebsd.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <89768331@srv.sem.ipt.ru> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org, sam Subject: Re: linuxolator problem on i386 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 11:17:58 -0000 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