tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: A really messed up directory
@ 1996-11-19 13:44 Rob Naccarato
  0 siblings, 0 replies; only message in thread
From: Rob Naccarato @ 1996-11-19 13:44 UTC (permalink / raw)
  To: tru64-unix-managers


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-11-19 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-19 13:44 SUMMARY: A really messed up directory Rob Naccarato

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