Home | History | Annotate | Download | only in init
History log of /src/sbin/init/NOTES
RevisionDateAuthorComments
 1.3  18-Apr-2006  salo 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/ ).
 1.2  18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.1  10-Jun-1994  pk branches: 1.1.1;
Update to 4.4-lite (basically some copyright changes) + local changes.
 1.1.1.1  13-Jun-1994  mycroft Import 4.4-Lite version.

RSS XML Feed