HomeFreeBSD

MFC r287964:

Description

MFC r287964:

Kernel part of reroot support - a way to change rootfs without reboot.

Note that the mountlist manipulations are somewhat fragile, and not very
pretty. The reason for this is to avoid changing vfs_mountroot(), which
is (obviously) rather mission-critical, but not very well documented,
and thus hard to test properly. It might be possible to rework it to use
its own simple root mount mechanism instead of vfs_mountroot().

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2698

Details

Provenance
traszAuthored on
Differential Revision
D2698: Add "reboot -r" support - unmount old root and mount a new one.
Parents
rS293742: MFC r287107:
Branches
Unknown
Tags
Unknown