pivot_root.2: Remove the term 'old_root'

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 commit is contained in:
Michael Kerrisk 2019-10-08 20:57:55 +02:00
parent 459fe99546
commit 8f2a9129e6
1 changed files with 1 additions and 4 deletions

View File

@ -231,7 +231,6 @@ umount2(".", MNT_DETACH);
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
@ -245,9 +244,7 @@ starts with
.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.