namespaces.7: Add 'ls -l' example of /proc/PID/ns

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-01-14 01:24:16 +01:00
parent 4effb5bec3
commit f2752f9088
1 changed files with 14 additions and 1 deletions

View File

@ -99,7 +99,20 @@ Each process has a
.\" See commit 6b4e306aa3dc94a0545eb9279475b1ab6209a31f .\" See commit 6b4e306aa3dc94a0545eb9279475b1ab6209a31f
subdirectory containing one entry for each namespace that subdirectory containing one entry for each namespace that
supports being manipulated by supports being manipulated by
.BR setns (2). .BR setns (2):
.in +4n
.nf
$ \fBls -l /proc/$$/ns\fP
total 0
lrwxrwxrwx. 1 mtk mtk 0 Jan 14 01:20 ipc -> ipc:[4026531839]
lrwxrwxrwx. 1 mtk mtk 0 Jan 14 01:20 mnt -> mnt:[4026531840]
lrwxrwxrwx. 1 mtk mtk 0 Jan 14 01:20 net -> net:[4026531956]
lrwxrwxrwx. 1 mtk mtk 0 Jan 14 01:20 pid -> pid:[4026531836]
lrwxrwxrwx. 1 mtk mtk 0 Jan 14 01:20 user -> user:[4026531837]
lrwxrwxrwx. 1 mtk mtk 0 Jan 14 01:20 uts -> uts:[4026531838]
.fi
.in
Bind mounting (see Bind mounting (see
.BR mount (2)) .BR mount (2))