Can not remove directory

Boris Kovalenko boris at ntmk.ru
Wed Oct 8 23:20:46 PDT 2003


Hello!

Seems You are right:
BAD INODE NUMBER FOR '.'  I=353381  OWNER=root MODE=40755
SIZE=512 MTIME=Oct  9 08:54 2003
DIR=/obj/usr/src/gnu/usr.bin/cc/cc1

UNEXPECTED SOFT UPDATE INCONSISTENCY

FIX? no

Will reboot and run fsck manually. Thanks for advance!

Yours truly,
    Boris Kovalenko

Dan Nelson wrote:

>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.
>
>  
>



More information about the freebsd-current mailing list