From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 10 13:17:21 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42D0F16A40F for ; Sun, 10 Sep 2006 13:17:21 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AAF843D46 for ; Sun, 10 Sep 2006 13:17:20 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5ED98.dip.t-dialin.net [84.165.237.152]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8ACtrB7081474; Sun, 10 Sep 2006 14:55:53 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8ADHGOd049182; Sun, 10 Sep 2006 15:17:16 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 10 Sep 2006 15:17:34 +0200 From: Alexander Leidinger To: Marcin Cieslak Message-ID: <20060910151734.0d56eb13@Magellan.Leidinger.net> In-Reply-To: <45040B68.8010302@SYSTEM.PL> References: <20060910123402.000e1358@Magellan.Leidinger.net> <4503F8A2.1030104@SYSTEM.PL> <20060910144812.6933ffd1@Magellan.Leidinger.net> <45040B68.8010302@SYSTEM.PL> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: emulation@freebsd.org Subject: Re: remove() problem fixed 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: Sun, 10 Sep 2006 13:17:21 -0000 Quoting Marcin Cieslak (Sun, 10 Sep 2006 14:56:08 +0200): > The fix for remove() was ... trivial. We need to introduce non POSIX > compliant behaviour of unlink(2). No idea why it worked, probably > libc checked for directory instead of the EISDIR error value. Yeah! This was fast... I did send the mail, got hit by a spontaneous reboot (panic while being in X, now I have to find out which test is responsible for this and why) and a fix is already there. Nice! > Sorry for versioning crap, I am using my normal buildworld environment > stuff. Is there anyway I can make easily make diffs to p4 repo? No problem, I deal with this. As long as you don't have an p4-account, you can't. > If not, I will have to go head and install whole CVS repository > to finally be able to "cvs diff" Anoncvs? You just have to check out the file you want to change. But a local CVS repository is nice to have (src alone is ~1.5G), so if you re willing to of this way, fine. > Now unlink() gets EISDIR instead of EPERM and remove() is able > to recover. I will give it a try (after the bgfsck finishes). Thanks, Alexander. -- Leela: You buy one pound of underwear and you're on their list forever. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137