From owner-freebsd-questions Tue Feb 5 13:35:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by hub.freebsd.org (Postfix) with ESMTP id 776A537B439 for ; Tue, 5 Feb 2002 13:35:05 -0800 (PST) Received: from arnold (arnold.lan [192.168.1.8]) by ei.bzerk.org (8.11.6/8.11.6) with SMTP id g15LZ2k29542; Tue, 5 Feb 2002 22:35:02 +0100 (CET) (envelope-from BSDJunk@1729.net) Message-ID: <013e01c1ae8d$196d4da0$0801a8c0@lan.1729.net> From: "BSDJunk" To: "Jan Knepper" , "FreeBSD Questions" References: <3C60423A.6010002@digitaldaemon.com> Subject: Re: 'ln' instead of 'make installworld DESTDIR=$D' Date: Tue, 5 Feb 2002 22:35:57 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 ----- Original Message ----- From: "Jan Knepper" Sent: Tuesday, February 05, 2002 9:36 PM > Hi! > > I just wondered if there is something available that would setup a > 'jail' with 'ln' instead of installing all the files into a directory. I > mean, creating a link (ln) from ~/jail/bin/cat to /bin/cat could save > quite some disk space or am I missing something here?! It is possible, but there are a two problems: - You have to use hard links, so /bin/cat and ~jail/bin/cat must be in the same filesystem. - When a jail gets compromised, so will the host system, since they use the same files. > > Thanks! > Jan > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message