Date: Thu, 13 May 2010 20:06:06 +0200 From: Jilles Tjoelker <jilles@stack.nl> To: "Julian H. Stacey" <jhs@berklix.com> Cc: freebsd-hackers@freebsd.org Subject: Re: /dev/null & zero inside chroot for make release Message-ID: <20100513180606.GA43485@stack.nl> In-Reply-To: <201005131745.o4DHiw7x016383@fire.js.berklix.net> References: <201005131745.o4DHiw7x016383@fire.js.berklix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 13, 2010 at 07:44:58PM +0200, Julian H. Stacey wrote: > Problem with /dev/null & /dev/zero inside a chroot: > I wanted to build a release from inside a chroot > What sort of null & zero should be in chroot ? > man mknod ... deprecated ... > Should I be running a devfs (I'm not currently) > Or a jail ? (I dont really want that level of encapsulation ). Mount devfs in your chroot. Then use devfs(8) to limit what's visible in that particular devfs, if you want. -- Jilles Tjoelker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100513180606.GA43485>