Init.c, making it chroot

M. Warner Losh imp at bsdimp.com
Sat Dec 30 23:54:43 PST 2006


In message: <45975B7B.7030002 at FreeBSD.org>
            Doug Barton <dougb at freebsd.org> writes:
: Erik Udo wrote:
: > That's nice. But NetBSDs init.c executes /etc/rc before calling
: > chroot(), and that's what i'm looking for
: 
: Sorry if I missed your rationale earlier, but could you perhaps
: explain a bit more about why you want to do this? I ask because I'm
: generally interested in boot-time issues, and this sounds like an
: interesting problem.

This allows one to have a 'simple' /etc/rc that arranges things so
that a new '/' is ready to 'boot'.

Warner


More information about the freebsd-hackers mailing list