From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 15:35:00 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 ED94C16A4CE; Tue, 17 Aug 2004 15:34:59 +0000 (GMT) Received: from mail1.simplenet.com (mailer.simplenet.com [209.132.1.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id D473243D1D; Tue, 17 Aug 2004 15:34:59 +0000 (GMT) (envelope-from tt-list@simplenet.com) Received: from TraverPC.simplenet.com (66.27.122.77) by mail1.simplenet.com (7.0.016) (authenticated as tt-list@simplenet.com) id 4121D85200001B96; Tue, 17 Aug 2004 08:24:23 -0700 Message-Id: <6.1.2.0.0.20040817083303.038ec190@mail1.simplenet.com> X-Sender: tt-list@simplenet.com@mail1.simplenet.com X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Tue, 17 Aug 2004 08:35:02 -0700 To: Greg 'groggy' Lehey From: Tim Traver In-Reply-To: <20040817052403.GE88156@wantadilla.lemis.com> References: <6.1.2.0.0.20040816220030.04148ec0@mail1.simplenet.com> <20040817052403.GE88156@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org 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: Tue, 17 Aug 2004 15:35:00 -0000 Greg, Well, specifically, I'm trying to link some directories inside a chrooted environment... THe filesystem also happens to be an nfs mounted one, so I know the files to be linked would have to be on the same volume, and separate systems deal with the filesystem integrity (NetApp)... So, how would you do this kind of thing ? Tim. At 10:24 PM 8/16/2004, Greg 'groggy' Lehey wrote: >On Monday, 16 August 2004 at 22:02:11 -0700, Tim Traver wrote: > > Hi all, > > > > This may be a stupid question, but is it possible to make hard links to > > directories ??? I know you can with files, and normally, you would do a > > soft link for directories, but is there any way to finagle this ? > >Sure, there are ways. But why would you want to? > >A link to a directory makes it a subdirectory of the directory >containing the link. If you have two links to a directory, where >should the directory's .. link point? How would fsck know what to do? > >Greg >-- >When replying to this message, please copy the original recipients. >If you don't, I may ignore the reply or reply to the original recipients. >For more information, see http://www.lemis.com/questions.html >Note: I discard all HTML mail unseen. >Finger grog@FreeBSD.org for PGP public key. >See complete headers for address and phone numbers. SimpleNet's Back ! http://www.simplenet.com