Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 1995 11:34:53 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        davidg@root.com
Cc:        joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG, bob@luke.pmr.com
Subject:   Re: How can I remove hard links between directories?
Message-ID:  <199511271834.LAA19215@phaeton.artisoft.com>
In-Reply-To: <199511270945.BAA00128@corbin.Root.COM> from "David Greenman" at Nov 27, 95 01:45:51 am

next in thread | previous in thread | raw e-mail | index | archive | help
> >> > Help!  An apparently buggy version of afio that I was running has
> >> > created some hard links between a couple of directories on my system
> >
> >David?  Didn't we nuke the ability to hard-link directories some day
> >in 1.1.5.1?  Should we nuke this again?
> 
>    I endured a significant amount of pain from all of the criticism of that
> change. While I think it's bogus to allow hard directory links in FFS, some
> other people disagree. ...but I think the other people are wrong, so yes, I
> think we should "nuke" them again. :-)

I definitely agree with this.  If you nuke directory hard links, it's
possible to maintain parent pointers and quickly reverse traverse the
directory hierarchy.

And doing that is useful to no end.  8-).  I personnally used this
technique with the justification that directories aren't files to
implement a directed revers graph traversal for trustee support in
a UNIX FS.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511271834.LAA19215>