From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076341621635.tru64-unix-managers.marc@archive.invalid> From: Rob Naccarato Date: Tue, 19 Nov 1996 13:44:25 +0000 To: tru64-unix-managers Subject: SUMMARY: A really messed up directory X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076341621635 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 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@sheridanc.on.ca