From owner-freebsd-questions@FreeBSD.ORG Thu Aug 19 02:11:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFC7716A4CE for ; Thu, 19 Aug 2004 02:11:56 +0000 (GMT) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 47B6D43D48 for ; Thu, 19 Aug 2004 02:11:56 +0000 (GMT) (envelope-from dkelly@HiWAAY.net) Received: (qmail 31510 invoked by uid 0); 19 Aug 2004 02:12:05 -0000 Received: from user-69-73-60-132.knology.net (HELO ?10.0.0.68?) (69.73.60.132) by smtp3.knology.net with SMTP; 19 Aug 2004 02:12:05 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <20040817231447.GM88156@wantadilla.lemis.com> References: <6.1.2.0.0.20040816220030.04148ec0@mail1.simplenet.com> <20040817052403.GE88156@wantadilla.lemis.com> <6BDB5047-F05D-11D8-8B80-000393BB56F2@HiWAAY.net> <20040817231447.GM88156@wantadilla.lemis.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <22C619E6-F185-11D8-B845-000393BB56F2@HiWAAY.net> Content-Transfer-Encoding: 7bit From: David Kelly Date: Wed, 18 Aug 2004 21:11:52 -0500 To: FreeBSD_Questions FreeBSD_Questions X-Mailer: Apple Mail (2.619) Subject: Re: hard links for directories ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 02:11:57 -0000 On Aug 17, 2004, at 6:14 PM, Greg 'groggy' Lehey wrote: >> Root is the only one allowed to make hard links to directories. > > This is not correct. root has no special powers here. OK, I'm a bit out of date and stand corrected. IIRC fsck used link(2) to reconnect an inode as a directory sometimes. "man 2 link" says: > The link() system call traditionally allows the super-user to link > direc- > tories which corrupts the file system coherency. This implementation > no > longer permits it. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Top posters will not be shown the honor of a reply.