From owner-freebsd-bugs Thu May 16 07:24:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA06642 for bugs-outgoing; Thu, 16 May 1996 07:24:03 -0700 (PDT) Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA06615 for ; Thu, 16 May 1996 07:23:58 -0700 (PDT) Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id IAA22871; Thu, 16 May 1996 08:23:30 -0600 Date: Thu, 16 May 1996 08:23:30 -0600 From: Nate Williams Message-Id: <199605161423.IAA22871@rocky.sri.MT.net> To: Heikki Suonsivu Cc: lamuh@stoat.riga.lv, freebsd-bugs@freebsd.org Subject: Re: bin/1205: ln -F dir1 dir2 In-Reply-To: <199605160719.KAA19035@cantina.clinet.fi> References: <199605152321.CAA00516@stoat.riga.lv> <199605160719.KAA19035@cantina.clinet.fi> Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > From: lamuh@stoat.riga.lv > >Number: 1205 > >Synopsis: hardlinked directories can be created but not deleted > > theres an undocumented option to ln(1), it is ``-F''. > it allows to hardlink directories. seems that there is no > way to delete these directories. so, fsck(8) should be done > three times to correct this problem. Actually, I just applied Terry's fix to fsck in -current so that fsck now requires only one pass to clean things up. I wanted to also bring it into -stable, but it needs to have more people beat on it so I decided to wait a while on it to make sure no unforseen bogons occur. Nate