diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2016-10-07 12:21:00 -0700 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-10-07 22:49:38 +0200 |
| commit | 89f929055e4eafbe10f9e9c85d85f23ed99c21ed (patch) | |
| tree | 9546e0b7fe08c94faf6244c804aac50a13e55bec /man5 | |
| parent | 750653a812a98d9d19c7d0f9fd263d124457be39 (diff) | |
| download | man-pages-89f929055e4eafbe10f9e9c85d85f23ed99c21ed.tar.gz | |
proc(5): ffix
Diffstat (limited to 'man5')
| -rw-r--r-- | man5/proc.5 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index 173a1363b8..939045edf1 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -1525,7 +1525,7 @@ and in that shell we create some new mount points: $ \fBPS1='sh1# ' unshare \-Urnm\fP sh1# \fBmount \-t tmpfs tmpfs /etc\fP # Mount empty tmpfs at /etc sh1# \fBmount \-\-bind /usr /dev\fP # Mount /usr at /dev -sh1# \fBecho $$ +sh1# \fBecho $$\fP 27123 .in .fi @@ -1533,10 +1533,10 @@ sh1# \fBecho $$ In a second terminal window, in the initial mount namespace, we look at the contents of the corresponding mounts in the initial and new namespaces: - + .nf .in +4n -$ \fBPS1='sh2# ' sudo sh +$ \fBPS1='sh2# ' sudo sh\fP sh2# \fBls /etc | wc \-l\fP # In initial NS 309 sh2# \fBls /proc/27123/root/etc | wc \-l\fP # /etc in other NS |
