Reid noted a confusion between 'old_root' (my attempt at a
shorthand for the old root point) and 'put_old. Eliminate the
confusion by replacing the shorthand with "old root mount point".
Reported-by: Reid Priedhorsky <reidpr@lanl.gov>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This sequence succeeds because the
.BR pivot_root ()
call stacks the old root mount point
-.RI ( old_root )
on top of the new root mount point at
.IR / .
At that point, the calling process's root directory and current
.I new_root
and then moves up the list of mounts stacked at
.IR / ,
-with the result that
-.IR old_root
-is unmounted.
+with the result that old root mount point is unmounted.
.PP
The rootfs (initial ramfs) cannot be
.BR pivot_root ()ed.