Subject: Re: chroot & null mount?
To: None <netbsd-users@netbsd.org>
From: James Hartley <jjhartley@gmail.com>
List: netbsd-users
Date: 08/22/2007 11:43:58
On 8/22/07, Peter Bex <Peter.Bex@xs4all.nl> wrote:
> If you use pkgsrc, you can use the 'make package' command to create binary
> packages for the chroot. Installing a binary package in the chroot is as
> easy as
> # copy some_pkg.tgz /var/some/chroot/tmp
> # chroot /var/some/chroot
> # pkg_add tmp/some_pkg.tgz
> # rm /tmp/some_pkg.tgz
> # exit
Sweet! Is null mounting /tmp a bad idea?
And for a last lame question, where should I be putting chrooted
directories? hier(7) doesn't quite address this.
Thank you again. This discussion has been very educational.
Jim