From owner-freebsd-questions Thu Nov 29 22: 6:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id A717937B416 for ; Thu, 29 Nov 2001 22:06:27 -0800 (PST) Received: from [212.238.194.207] (helo=tanya.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 169gob-0007nP-00 for questions@freebsd.org; Fri, 30 Nov 2001 06:06:25 +0000 Received: by tanya.raggedclown.net (tanya.raggedclown.net, from userid 500) id 79161110D; Fri, 30 Nov 2001 07:06:24 +0100 (CET) Date: Fri, 30 Nov 2001 07:06:24 +0100 From: Cliff Sarginson To: questions@freebsd.org Subject: Hard Links [ Was Not using Symbolic links correctly? ] Message-ID: <20011130070624.A7131@raggedclown.net> References: <15365.65245.491684.81189@guru.mired.org><006701c178ef$0736bff0$0300a8c0@jayyness.com> <15366.45817.877900.681798@guru.mired.org> <005901c17950$275040c0$0300a8c0@jayyness.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005901c17950$275040c0$0300a8c0@jayyness.com> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Nov 29, 2001 at 08:36:09PM -0700, Totally Jayyness wrote: > Found this... don't think I can do what I want with ln > "Hard links may not normally refer to directories and may not span file > systems." You cannot hard-link directories. Long ago and far away root could but it could cause havoc I seem to recall, the problem being the entries for "." and or ".." I think. If it was not so early in the morning I would work it out on a piece of paper.. :) Anyway what on earth are your trying to do ? The point of chroot is just that, you change the root of the file system from the point of view of the program within it, now you want to sneak things in from the outside under the cover of dark. Sounds highly like "not a good thing" to me. -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message