Date: Tue, 5 Feb 2002 22:35:57 +0100 From: "BSDJunk" <BSDJunk@1729.net> To: "Jan Knepper" <jan@digitaldaemon.com>, "FreeBSD Questions" <FreeBSD-Questions@FreeBSD.ORG> Subject: Re: 'ln' instead of 'make installworld DESTDIR=$D' Message-ID: <013e01c1ae8d$196d4da0$0801a8c0@lan.1729.net> References: <3C60423A.6010002@digitaldaemon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Jan Knepper" <jan@digitaldaemon.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013e01c1ae8d$196d4da0$0801a8c0>