Debian Codegraph @

templates/man5/proc_pid_root.5.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:36+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "proc_pid_root"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "/proc/pid/root/ - symbolic link to root directory"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "DESCRIPTION"
57 msgstr ""
58
59 #. type: TP
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "I</proc/>pidI</root/>"
64 msgstr ""
65
66 #. type: Plain text
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 msgid ""
70 "UNIX and Linux support the idea of a per-process root of the filesystem, set "
71 "by the B<chroot>(2) system call. This file is a symbolic link that points "
72 "to the process's root directory, and behaves in the same way as I<exe>, and "
73 "I<fd/*>."
74 msgstr ""
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 msgid ""
80 "Note however that this file is not merely a symbolic link. It provides the "
81 "same view of the filesystem (including namespaces and the set of per-process "
82 "mounts) as the process itself. An example illustrates this point. In one "
83 "terminal, we start a shell in new user and mount namespaces, and in that "
84 "shell we create some new mounts:"
85 msgstr ""
86
87 #. type: Plain text
88 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
89 #: opensuse-tumbleweed
90 #, no-wrap
91 msgid ""
92 "$B< PS1=\\[aq]sh1# \\[aq] unshare -Urnm>;\n"
93 "sh1#B< mount -t tmpfs tmpfs /etc>; # Mount empty tmpfs at /etc\n"
94 "sh1#B< mount --bind /usr /dev>; # Mount /usr at /dev\n"
95 "sh1#B< echo $$>;\n"
96 "27123\n"
97 msgstr ""
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid ""
103 "In a second terminal window, in the initial mount namespace, we look at the "
104 "contents of the corresponding mounts in the initial and new namespaces:"
105 msgstr ""
106
107 #. type: Plain text
108 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
109 #: opensuse-tumbleweed
110 #, no-wrap
111 msgid ""
112 "$B< PS1=\\[aq]sh2# \\[aq] sudo sh>;\n"
113 "sh2#B< ls /etc | wc -l>; # In initial NS\n"
114 "309\n"
115 "sh2#B< ls /proc/27123/root/etc | wc -l>; # /etc in other NS\n"
116 "0 # The empty tmpfs dir\n"
117 "sh2#B< ls /dev | wc -l>; # In initial NS\n"
118 "205\n"
119 "sh2#B< ls /proc/27123/root/dev | wc -l>; # /dev in other NS\n"
120 "11 # Actually bind\n"
121 " # mounted to /usr\n"
122 "sh2#B< ls /usr | wc -l>; # /usr in initial NS\n"
123 "11\n"
124 msgstr ""
125
126 #. The following was still true as at kernel 2.6.13
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid ""
131 "In a multithreaded process, the contents of the I</proc/>pidI</root> "
132 "symbolic link are not available if the main thread has already terminated "
133 "(typically by calling B<pthread_exit>(3))."
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "Permission to dereference or read (B<readlink>(2)) this symbolic link is "
141 "governed by a ptrace access mode B<PTRACE_MODE_READ_FSCREDS> check; see "
142 "B<ptrace>(2)."
143 msgstr ""
144
145 #. type: SH
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid "SEE ALSO"
150 msgstr ""
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid "B<proc>(5)"
156 msgstr ""
157
158 #. type: TH
159 #: debian-trixie fedora-44 fedora-rawhide
160 #, no-wrap
161 msgid "2024-05-02"
162 msgstr ""
163
164 #. type: TH
165 #: debian-trixie
166 #, no-wrap
167 msgid "Linux man-pages 6.9.1"
168 msgstr ""
169
170 #. type: Plain text
171 #: debian-trixie fedora-44 fedora-rawhide
172 #, no-wrap
173 msgid ""
174 "$ B<PS1=\\[aq]sh1# \\[aq] unshare -Urnm>\n"
175 "sh1# B<mount -t tmpfs tmpfs /etc> # Mount empty tmpfs at /etc\n"
176 "sh1# B<mount --bind /usr /dev> # Mount /usr at /dev\n"
177 "sh1# B<echo $$>\n"
178 "27123\n"
179 msgstr ""
180
181 #. type: Plain text
182 #: debian-trixie fedora-44 fedora-rawhide
183 #, no-wrap
184 msgid ""
185 "$ B<PS1=\\[aq]sh2# \\[aq] sudo sh>\n"
186 "sh2# B<ls /etc | wc -l> # In initial NS\n"
187 "309\n"
188 "sh2# B<ls /proc/27123/root/etc | wc -l> # /etc in other NS\n"
189 "0 # The empty tmpfs dir\n"
190 "sh2# B<ls /dev | wc -l> # In initial NS\n"
191 "205\n"
192 "sh2# B<ls /proc/27123/root/dev | wc -l> # /dev in other NS\n"
193 "11 # Actually bind\n"
194 " # mounted to /usr\n"
195 "sh2# B<ls /usr | wc -l> # /usr in initial NS\n"
196 "11\n"
197 msgstr ""
198
199 #. type: TH
200 #: fedora-44 fedora-rawhide
201 #, no-wrap
202 msgid "Linux man-pages 6.13"
203 msgstr ""
204
205 #. type: TH
206 #: mageia-cauldron
207 #, no-wrap
208 msgid "Linux man-pages 6.17"
209 msgstr ""
210
211 #. type: TH
212 #: opensuse-leap-16-1 opensuse-tumbleweed
213 #, no-wrap
214 msgid "Linux man-pages (unreleased)"
215 msgstr ""