tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Rob Naccarato <rob.naccarato () sheridanc ! on ! ca>
To: tru64-unix-managers
Subject: SUMMARY: A really messed up directory
Date: Tue, 19 Nov 1996 13:44:25 +0000	[thread overview]
Message-ID: <96076341621635.tru64-unix-managers.marc@archive.invalid> (raw)


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@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@sheridanc.on.ca

                 reply	other threads:[~1996-11-19 13:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox