Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Oct 2003 12:20:39 +0600
From:      Boris Kovalenko <boris@ntmk.ru>
To:        Dan Nelson <dnelson@allantgroup.com>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Can not remove directory
Message-ID:  <3F84FE37.3060005@ntmk.ru>
In-Reply-To: <20031009054348.GF63777@dan.emsphone.com>
References:  <3F84ED93.9080606@ntmk.ru> <20031009054348.GF63777@dan.emsphone.com>

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

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



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