Give init the ability to chroot to a directory based on kernel environment
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 20 Nov 2004 04:09:34 +0000 (04:09 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 20 Nov 2004 04:09:34 +0000 (04:09 +0000)
commit0aeef1e88fbbd48870e0819042cddba5c2e0e106
tree893ab3434809376f7717909c29c5f2fefd631db2
parentc5fe5fd11c75ead623da2fb9abbc71c8e6b8454e
Give init the ability to chroot to a directory based on kernel environment
variable, 'init_chroot'.  This makes building multi-boot DVDs a lot easier.

Submitted-by: Oliver Fromme <olli@haluter.fromme.com>
w/ minor cleanups by Matt
sbin/init/init.c