History log of /netbsd-src/sbin/init/NOTES (Results 1 – 3 of 3)
Revision Date Author Comments
# b0b7590b 18-Apr-2006 salo <salo@NetBSD.org>

Add support for running multi-user in a chroot() environment.

How it works:

- after successful execution of /etc/rc, check the value of "init.root"
sysctl node, if it's different than "/", chroot

Add support for running multi-user in a chroot() environment.

How it works:

- after successful execution of /etc/rc, check the value of "init.root"
sysctl node, if it's different than "/", chroot() into its value and run
/etc/rc inside the chroot(),

- in single-user, return back to the original / file system.

Allows running with / file system on e.g., cgd(4), vnd(4) or ccd(4) volumes.

Idea first discussed with Matt Thomas, implemented by Jachym Holecek <freza
(at) liberouter.org> with some nitpicks by me. Successfully used by me for
almost a year with / on a cgd(4) volume (for more information about the setup
check ftp://ftp.NetBSD.org/pub/NetBSD/misc/salo/init-chroot/ ).

show more ...


# 0114e805 18-Mar-1995 cgd <cgd@NetBSD.org>

convert to new RCS Id conventions; reduce my headache


# ed2fab3b 10-Jun-1994 pk <pk@NetBSD.org>

Update to 4.4-lite (basically some copyright changes) + local changes.