mirror of https://github.com/mkerrisk/man-pages
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:
parent
459fe99546
commit
8f2a9129e6
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue