From owner-freebsd-current@FreeBSD.ORG Wed Oct 8 22:43:50 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34FE716A4BF for ; Wed, 8 Oct 2003 22:43:50 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C33843F75 for ; Wed, 8 Oct 2003 22:43:49 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h995hmBH037643; Thu, 9 Oct 2003 00:43:48 -0500 (CDT) (envelope-from dan) Date: Thu, 9 Oct 2003 00:43:48 -0500 From: Dan Nelson To: Boris Kovalenko Message-ID: <20031009054348.GF63777@dan.emsphone.com> References: <3F84ED93.9080606@ntmk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F84ED93.9080606@ntmk.ru> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-current Subject: Re: Can not remove directory X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 05:43:50 -0000 In the last episode (Oct 09), Boris Kovalenko said: > Can not remove directory /usr/obj/usr/src/gnu/usr.bin/cc/cc1 > rm: /usr/obj/usr/src/gnu/usr.bin/cc/cc1: Directory not empty > > bash-2.05b# pwd; ls -la > /usr/obj/usr/src/gnu/usr.bin/cc/cc1 > total 4 > drwxr-xr-x 2 root wheel 512 Oct 9 08:54 . > drwxr-xr-x 13 root wheel 512 Oct 9 08:54 .. Interesting. Usually you get this after a crash, due to how softupdates buffers directory updates. The background fsck should have repaired the directory, though. If it isn't still running, try rebooting in single-user mode and run fsck -p on the filesystem. -- Dan Nelson dnelson@allantgroup.com