SUMMARY: A really messed up directory

From: Rob Naccarato <rob.naccarato_at_sheridanc.on.ca>
Date: Tue, 19 Nov 1996 08:44:25 -0500

Yet again the list comes thru!

First, the original question:
> Maybe not OSF-specific, but this is driving me nuts!
>
> # ls -lai really.messed.up.directory/
> total 9
> 315733 drwx------ 2 root system 1024 Nov 17 14:51
> 315733 drwx------ 2 root system 1024 Nov 17 14:51 .
> 2 drwxr-xr-x 351 root system 7168 Nov 17 15:01 ..
>
> As you can see, there's a hard link in the dir pointing to the dir. I
don't
> know the name of the first entry list above. How do I find out and get
rid of
> it?
>

I got 11 suggestions from various people, but the one from Hellebo Knut
<Knut.Hellebo_at_nho.hydro.com> gave me the solution.

Use clri to clear the inode, such as:

        # clri /dev/rre0g 315733

The do an fsck on the filesystem and have it remove the UNALLOCATED inode.

Thanks a LOT!!

-- 
Rob Naccarato
rob.naccarato_at_sheridanc.on.ca
Received on Tue Nov 19 1996 - 15:07:20 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT