]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Userspace part of reroot support. This makes it possible to change
authortrasz <trasz@FreeBSD.org>
Sun, 8 Nov 2015 17:33:48 +0000 (17:33 +0000)
committertrasz <trasz@FreeBSD.org>
Sun, 8 Nov 2015 17:33:48 +0000 (17:33 +0000)
commit31006b5c68aa377c000619fa0e53bedeaf77ce92
treefd5fdcec0ad6ddb8190c6cf49530ee61a9ac4753
parent4e8b6b4a06e9b8bd64928b39a5a6cfe0fabaf9f0
Userspace part of reroot support. This makes it possible to change
the root filesystem without full reboot, using "reboot -r". This can
be used to to eg. boot from a temporary md_image preloaded by loader(8),
setup an iSCSI session, and continue booting from rootfs mounted over
iSCSI.

Reviewed by: kib@, bapt@
MFC after: 1 month
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3693
sbin/init/Makefile
sbin/init/init.c
sbin/init/pathnames.h
sbin/reboot/reboot.8
sbin/reboot/reboot.c