]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
namespaces.7: EXAMPLE: rename the example program
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 23 Dec 2016 08:28:54 +0000 (09:28 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 23 Dec 2016 08:28:54 +0000 (09:28 +0100)
Use a more generic name, since this program may be expanded
in various ways in the future.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/namespaces.7

index fedcdb2edbb0edd4545a4c7e481f6961210bd430..beaf8f35fa416c9ce55903242a33808869faace6 100644 (file)
@@ -428,7 +428,7 @@ since it has no parent:
 
 .nf
 .in +4n
-$ \fB./ns_introspect /proc/self/ns/user p\fP
+$ \fB./ns_show /proc/self/ns/user p\fP
 The parent namespace is outside your namespace scope
 .in
 .fi
@@ -442,7 +442,7 @@ and show that the new UTS namespace is associated with the new user namespace:
 .in +4n
 $ \fBunshare \-Uu sleep 1000 &\fP
 [1] 23235
-$ \fB./ns_introspect /proc/23235/ns/uts u\fP
+$ \fB./ns_show /proc/23235/ns/uts u\fP
 Device/Inode of owning user namespace is: [0,3] / 4026532448
 $ \fBreadlink /proc/23235/ns/user \fP
 user:[4026532448]
@@ -456,7 +456,7 @@ example is the initial user namespace:
 .in +4n
 $ \fBreadlink /proc/self/ns/user\fP
 user:[4026531837]
-$ \fB./ns_introspect /proc/23235/ns/user p\fP
+$ \fB./ns_show /proc/23235/ns/user p\fP
 Device/Inode of parent namespace is: [0,3] / 4026531837
 .in
 .fi
@@ -470,16 +470,16 @@ can't be discovered.
 .nf
 .in +4n
 $ \fBPS1="sh2$ " unshare \-U bash\fP
-sh2$ \fB./ns_introspect /proc/self/ns/user p\fP
+sh2$ \fB./ns_show /proc/self/ns/user p\fP
 The parent namespace is outside your namespace scope
-sh2$ \fB./ns_introspect /proc/self/ns/uts u\fP
+sh2$ \fB./ns_show /proc/self/ns/uts u\fP
 The owning user namespace is outside your namespace scope
 .in
 .fi
 .SS Program source
 \&
 .nf
-/* ns_introspect.c
+/* ns_show.c
 
    Licensed under the GNU General Public License v2 or later.
 */