Init.c, making it chroot

Robert Watson rwatson at FreeBSD.org
Sat Dec 30 10:07:03 PST 2006


On Sat, 30 Dec 2006, M. Warner Losh wrote:

> In message: <20061230123256.V18740 at fledge.watson.org>
>            Robert Watson <rwatson at FreeBSD.org> writes:
> : Mounting a second devfs instance is undesirable for a number of
> : reasons, not least that you end up with an extra file system
> : floating around (although not reachable via the name space).  It's
> : certainly not disastrous though.
>
> At work, we have a build server.  Our build environment is a chroot'd area 
> that allows us to insultate the products we're building from the host os's 
> files completely.  We have to have a devfs entry in each of these chroots. 
> We often see dozens of devfs instances mounted on our 6.2 build boxes w/o 
> ill effect.  We've done this as far back as 5.3.

Yes, this is certainly a supported configuration, as it's also used 
extensively with jail.

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the freebsd-hackers mailing list