Can't remove empty directory

Robert Marella rmarella at gmail.com
Tue Apr 12 15:42:56 PDT 2005


Kris Kennaway wrote:

>On Tue, Apr 12, 2005 at 12:14:12PM -1000, Robert Marella wrote:
>
>  
>
>>drwxr-xr-x  3 root  wheel  1024 Apr 12 10:06 .
>>drwxr-xr-x  3 root  wheel   512 Apr 12 10:06 ..
>>drwxr--r--  4 root  wheel     0 Apr 12 09:51 gail
>>p4# chflags -R noschg gail
>>p4# rm -r gail
>>rm: gail: Directory not empty
>>p4# rm gail
>>rm: gail: is a directory
>>p4# rmdir gail
>>rmdir: gail: Directory not empty
>>p4#
>>
>>The obvious problem is that the number of links is incorrect but I don't 
>>know how to make that right.
>>
>>Any help is greatly appreciated.
>>    
>>
>
>Unmount the filesystem and run fsck to repair the filesystem
>corruption.
>
>Kris
>  
>
That's why you get paid the BIG BUCKS.

Thank you very much
Robert


More information about the freebsd-questions mailing list