Can not remove directory

Dan Nelson dnelson at allantgroup.com
Wed Oct 8 22:43:50 PDT 2003


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 at allantgroup.com


More information about the freebsd-current mailing list