Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2003 00:43:48 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Boris Kovalenko <boris@ntmk.ru>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Can not remove directory
Message-ID:  <20031009054348.GF63777@dan.emsphone.com>
In-Reply-To: <3F84ED93.9080606@ntmk.ru>
References:  <3F84ED93.9080606@ntmk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031009054348.GF63777>