Debian Codegraph @

po/ru/man7/mount_namespaces.7.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # aereiae <[email protected]>, 2014.
5 # Alexey <[email protected]>, 2015.
6 # Azamat Hackimov <[email protected]>, 2013-2017.
7 # Dmitriy S. Seregin <[email protected]>, 2013.
8 # Dmitry Bolkhovskikh <[email protected]>, 2017.
9 # ITriskTI <[email protected]>, 2013.
10 # Max Is <[email protected]>, 2016.
11 # Yuri Kozlov <[email protected]>, 2011-2019.
12 # Иван Павлов <[email protected]>, 2017.
13 # Малянов Евгений Викторович <[email protected]>, 2014.
14 msgid ""
15 msgstr ""
16 "Project-Id-Version: manpages-l10n\n"
17 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
18 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
19 "Last-Translator: Yuri Kozlov <[email protected]>\n"
20 "Language-Team: Russian <[email protected]>\n"
21 "Language: ru\n"
22 "MIME-Version: 1.0\n"
23 "Content-Type: text/plain; charset=UTF-8\n"
24 "Content-Transfer-Encoding: 8bit\n"
25 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
26 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
27 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
28 "X-Generator: Lokalize 2.0\n"
29
30 #. type: TH
31 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
32 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
33 #, fuzzy, no-wrap
34 #| msgid "Mount namespaces"
35 msgid "mount_namespaces"
36 msgstr "Пространства имён монтирования"
37
38 #. type: TH
39 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
40 #: opensuse-tumbleweed
41 #, no-wrap
42 msgid "2026-02-08"
43 msgstr "8 февраля 2026 г."
44
45 #. type: TH
46 #: archlinux debian-unstable
47 #, fuzzy, no-wrap
48 #| msgid "Linux man-pages 6.17"
49 msgid "Linux man-pages 6.18"
50 msgstr "Справочные страницы Linux 6.17"
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 "NAME"
57 msgstr "НАИМЕНОВАНИЕ"
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "mount_namespaces - overview of Linux mount namespaces"
63 msgstr "mount_namespaces - обзор пространств имён монтирования в Linux"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "DESCRIPTION"
70 msgstr "ОПИСАНИЕ"
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 msgid "For an overview of namespaces, see B<namespaces>(7)."
76 msgstr "Обзор пространств имён смотрите в B<namespaces>(7)."
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, fuzzy
82 #| msgid ""
83 #| "Mount namespaces provide isolation of the list of mount points seen by "
84 #| "the processes in each namespace instance. Thus, the processes in each of "
85 #| "the mount namespace instances will see distinct single-directory "
86 #| "hierarchies."
87 msgid ""
88 "Mount namespaces provide isolation of the list of mounts seen by the "
89 "processes in each namespace instance. Thus, the processes in each of the "
90 "mount namespace instances will see distinct single-directory hierarchies."
91 msgstr ""
92 "Пространства имён монтирования позволяют изолировать список точек "
93 "монтирования, видимый процессами в каждом экземпляре пространства имён. То "
94 "есть, процессы в каждом из экземпляров пространства имён монтирования будут "
95 "видеть разные иерархии в одном и том же каталоге."
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, fuzzy
101 #| msgid ""
102 #| "The views provided by the I</proc/[pid]/mounts>, I</proc/[pid]/"
103 #| "mountinfo>, and I</proc/[pid]/mountstats> files (all described in "
104 #| "B<proc>(5)) correspond to the mount namespace in which the process with "
105 #| "the PID I<[pid]> resides. (All of the processes that reside in the same "
106 #| "mount namespace will see the same view in these files.)"
107 msgid ""
108 "The views provided by the I</proc/>pidI</mounts>, I</proc/>pidI</mountinfo>, "
109 "and I</proc/>pidI</mountstats> files (all described in B<proc>(5)) "
110 "correspond to the mount namespace in which the process with the PID I<pid> "
111 "resides. (All of the processes that reside in the same mount namespace will "
112 "see the same view in these files.)"
113 msgstr ""
114 "Данные файлов I</proc/[pid]/mounts>, I</proc/[pid]/mountinfo> и I</proc/"
115 "[pid]/mountstats> (описаны в B<proc>(5)) соответствуют пространству имён "
116 "монтирования, в котором расположен процесс с PID I<[pid]> (для всех "
117 "процессов, которые расположены в одном пространстве имён монтирования, "
118 "данные в этих файлах одинаковы)."
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "A new mount namespace is created using either B<clone>(2) or B<unshare>(2) "
125 "with the B<CLONE_NEWNS> flag. When a new mount namespace is created, its "
126 "mount list is initialized as follows:"
127 msgstr ""
128
129 #. type: IP
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 #, no-wrap
133 msgid "\\[bu]"
134 msgstr "\\[bu]"
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 "If the namespace is created using B<clone>(2), the mount list of the child's "
141 "namespace is a copy of the mount list in the parent process's mount "
142 "namespace."
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "If the namespace is created using B<unshare>(2), the mount list of the new "
150 "namespace is a copy of the mount list in the caller's previous mount "
151 "namespace."
152 msgstr ""
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 #, fuzzy
158 #| msgid ""
159 #| "When a process creates a new mount namespace using B<clone>(2) or "
160 #| "B<unshare>(2) with the B<CLONE_NEWNS> flag, the mount point list for the "
161 #| "new namespace is a I<copy> of the caller's mount point list. Subsequent "
162 #| "modifications to the mount point list (B<mount>(2) and B<umount>(2)) in "
163 #| "either mount namespace will not (by default) affect the mount point list "
164 #| "seen in the other namespace (but see the following discussion of shared "
165 #| "subtrees)."
166 msgid ""
167 "Subsequent modifications to the mount list (B<mount>(2) and B<umount>(2)) "
168 "in either mount namespace will not (by default) affect the mount list seen "
169 "in the other namespace (but see the following discussion of shared subtrees)."
170 msgstr ""
171 "Когда процесс создаёт новое пространство имён монтирования с помощью "
172 "B<clone>(2) или B<unshare>(2) с флагом B<CLONE_NEWNS> список точек "
173 "монтирования для нового пространства имён представляет собой I<копию> списка "
174 "точек монтирования вызывающего. Последующие изменения списка точек "
175 "монтирования (B<mount>(2) и B<umount>(2)) в любом пространстве имён "
176 "монтирования не влияют (по умолчанию) на список точек монтирования, видимый "
177 "из другого пространства имён (но смотрите далее описание общих поддеревьев)."
178
179 #. type: SH
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid "SHARED SUBTREES"
184 msgstr "ОБЩИЕ ПОДДЕРЕВЬЯ"
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, fuzzy
190 #| msgid ""
191 #| "After the implementation of mount namespaces was completed, experience "
192 #| "showed that the isolation that they provided was, in some cases, too "
193 #| "great. For example, in order to make a newly loaded optical disk "
194 #| "available in all mount namespaces, a mount operation was required in each "
195 #| "namespace. For this use case, and others, the shared subtree feature was "
196 #| "introduced in Linux 2.6.15. This feature allows for automatic, "
197 #| "controlled propagation of mount and unmount I<events> between namespaces "
198 #| "(or, more precisely, between the members of a I<peer group> that are "
199 #| "propagating events to one another)."
200 msgid ""
201 "After the implementation of mount namespaces was completed, experience "
202 "showed that the isolation that they provided was, in some cases, too great. "
203 "For example, in order to make a newly loaded optical disk available in all "
204 "mount namespaces, a mount operation was required in each namespace. For "
205 "this use case, and others, the shared subtree feature was introduced in "
206 "Linux 2.6.15. This feature allows for automatic, controlled propagation of "
207 "B<mount>(2) and B<umount>(2) I<events> between namespaces (or, more "
208 "precisely, between the mounts that are members of a I<peer group> that are "
209 "propagating events to one another)."
210 msgstr ""
211 "После завершения реализации пространств имён монтирования опыт использования "
212 "показал, что полученная изоляция, в некоторых случаях, слишком велика. "
213 "Например, чтобы только что смонтированный оптический диск сделать доступным "
214 "в во всех пространствах имён, требуется операция монтирования в каждом "
215 "пространстве имён. Для этого случаях и других в Linux 2.6.15 были добавлены "
216 "общие поддеревья. Это свойство предоставляет автоматическое, управляемое "
217 "распространение I<событий> монтирования и размонтирования в пространствах "
218 "имён (или, точнее, между членами I<равноправной группы>, которые "
219 "обмениваются событиями между собой)."
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, fuzzy
225 #| msgid ""
226 #| "Each mount point is marked (via B<mount>(2)) as having one of the "
227 #| "following I<propagation types>:"
228 msgid ""
229 "Each mount is marked (via B<mount>(2)) as having one of the following "
230 "I<propagation types>:"
231 msgstr ""
232 "Каждая точка монтирования помечается (в B<mount>(2)) одним из следующих "
233 "I<типов распространения>:"
234
235 #. type: TP
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "B<MS_SHARED>"
240 msgstr "B<MS_SHARED>"
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, fuzzy
246 #| msgid ""
247 #| "This mount point shares events with members of a peer group. Mount and "
248 #| "unmount events immediately under this mount point will propagate to the "
249 #| "other mount points that are members of the peer group. I<Propagation> "
250 #| "here means that the same mount or unmount will automatically occur under "
251 #| "all of the other mount points in the peer group. Conversely, mount and "
252 #| "unmount events that take place under peer mount points will propagate to "
253 #| "this mount point."
254 msgid ""
255 "This mount shares events with members of a peer group. B<mount>(2) and "
256 "B<umount>(2) events immediately under this mount will propagate to the "
257 "other mounts that are members of the peer group. I<Propagation> here means "
258 "that the same B<mount>(2) or B<umount>(2) will automatically occur under "
259 "all of the other mounts in the peer group. Conversely, B<mount>(2) and "
260 "B<umount>(2) events that take place under peer mounts will propagate to "
261 "this mount."
262 msgstr ""
263 "События такой точки монтирования являются общими с остальными членами "
264 "равноправной группы. События монтирования и размонтирования этой точки сразу "
265 "же распространяются на другие точки монтирования, являющиеся членами "
266 "равноправной группы. То есть монтирование или размонтирование автоматически "
267 "происходит и у всех остальных точек монтирования в равноправной группе. И "
268 "наоборот, события монтирования и размонтирования, возникшие у точек "
269 "монтирования равноправной группы, будут распространены и на эту точку "
270 "монтирования."
271
272 #. type: TP
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "B<MS_PRIVATE>"
277 msgstr "B<MS_PRIVATE>"
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, fuzzy
283 #| msgid ""
284 #| "This mount point is private; it does not have a peer group. Mount and "
285 #| "unmount events do not propagate into or out of this mount point."
286 msgid ""
287 "This mount is private; it does not have a peer group. B<mount>(2) and "
288 "B<umount>(2) events do not propagate into or out of this mount."
289 msgstr ""
290 "Данная точка монтирования индивидуальна; у неё нет равноправной группы. "
291 "События монтирования и размонтирования не распространяются от этой точки и "
292 "на эту точку."
293
294 #. type: TP
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "B<MS_SLAVE>"
299 msgstr "B<MS_SLAVE>"
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, fuzzy
305 #| msgid ""
306 #| "Mount and unmount events propagate into this mount point from a (master) "
307 #| "shared peer group. Mount and unmount events under this mount point do "
308 #| "not propagate to any peer."
309 msgid ""
310 "B<mount>(2) and B<umount>(2) events propagate into this mount from a "
311 "(master) shared peer group. B<mount>(2) and B<umount>(2) events under "
312 "this mount do not propagate to any peer."
313 msgstr ""
314 "События монтирования и размонтирования распространяются на эту точку "
315 "монтирования из (главной) общей равноправной группы. События монтирования и "
316 "размонтирования этой точки не распространяются на членов группы."
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 #, fuzzy
322 #| msgid ""
323 #| "Note that a mount point can be the slave of another peer group while at "
324 #| "the same time sharing mount and unmount events with a peer group of which "
325 #| "it is a member. (More precisely, one peer group can be the slave of "
326 #| "another peer group.)"
327 msgid ""
328 "Note that a mount can be the slave of another peer group while at the same "
329 "time sharing B<mount>(2) and B<umount>(2) events with a peer group of "
330 "which it is a member. (More precisely, one peer group can be the slave of "
331 "another peer group.)"
332 msgstr ""
333 "Заметим, что точка монтирования может быть подчинённой одной равноправной "
334 "группе и в тоже время может распространять события в другую группу, где она "
335 "является членом (точнее, одна равноправная группа может быть подчинённой "
336 "другой равноправной группе)."
337
338 #. type: TP
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "B<MS_UNBINDABLE>"
343 msgstr "B<MS_UNBINDABLE>"
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 msgid ""
349 "This is like a private mount, and in addition this mount can't be bind "
350 "mounted. Attempts to bind mount this mount (B<mount>(2) with the "
351 "B<MS_BIND> flag) will fail."
352 msgstr ""
353 "Данный тип подобен индивидуальной точке монтирования, но дополнительно такая "
354 "точка монтирования не может быть привязана (bind). Попытка привязать эту "
355 "точку монтирования (B<mount>(2) с флагом B<MS_BIND>) завершится ошибкой."
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "When a recursive bind mount (B<mount>(2) with the B<MS_BIND> and B<MS_REC> "
362 "flags) is performed on a directory subtree, any bind mounts within the "
363 "subtree are automatically pruned (i.e., not replicated) when replicating "
364 "that subtree to produce the target subtree."
365 msgstr ""
366 "При рекурсивной привязке (B<mount>(2) с флагами B<MS_BIND> и B<MS_REC>) "
367 "поддерева каталога все привязки внутри поддерева автоматически удаляются (т. "
368 "е., не копируются) при копировании этого поддерева для создания целевого "
369 "поддерева."
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid ""
375 "For a discussion of the propagation type assigned to a new mount, see NOTES."
376 msgstr ""
377 "Описание типа распространения, назначаемого на новое монтирование, смотрите "
378 "в ЗАМЕЧАНИЯХ."
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, fuzzy
384 #| msgid ""
385 #| "The propagation type is a per-mount-point setting; some mount points may "
386 #| "be marked as shared (with each shared mount point being a member of a "
387 #| "distinct peer group), while others are private (or slaved or unbindable)."
388 msgid ""
389 "The propagation type is a per-mount-point setting; some mounts may be marked "
390 "as shared (with each shared mount being a member of a distinct peer group), "
391 "while others are private (or slaved or unbindable)."
392 msgstr ""
393 "Тип распространения имеется у каждой точки монтирования; некоторые точки "
394 "монтирования могут быть помечены как общие (каждая общая точка монтирования "
395 "является членом определённой равноправной группы), а некоторые как "
396 "индивидуальные (или подчинённые или непривязываемые)."
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, fuzzy
402 #| msgid ""
403 #| "Note that a mount's propagation type determines whether mounts and "
404 #| "unmounts of mount points I<immediately under> the mount point are "
405 #| "propagated. Thus, the propagation type does not affect propagation of "
406 #| "events for grandchildren and further removed descendant mount points. "
407 #| "What happens if the mount point itself is unmounted is determined by the "
408 #| "propagation type that is in effect for the I<parent> of the mount point."
409 msgid ""
410 "Note that a mount's propagation type determines whether B<mount>(2) and "
411 "B<umount>(2) of mounts I<immediately under> the mount are propagated. "
412 "Thus, the propagation type does not affect propagation of events for "
413 "grandchildren and further removed descendant mounts. What happens if the "
414 "mount itself is unmounted is determined by the propagation type that is in "
415 "effect for the I<parent> of the mount."
416 msgstr ""
417 "Заметим, что тип распространения монтирования определяет, будет ли "
418 "монтирование или размонтирование распространяться точки монтирования, "
419 "находящиеся I<на одну ступень ниже> точки, где возникло событие. То есть, "
420 "тип распространения не влияет на распространение событий для внуков и в "
421 "дальнейшем удаляемых потомков точки монтирования. Это случается, если сама "
422 "точка монтирования размонтируется из-за действия типа распространения "
423 "который, в сущности, влияние I<родительской> точки монтирования."
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 #, fuzzy
429 #| msgid ""
430 #| "Members are added to a I<peer group> when a mount point is marked as "
431 #| "shared and either:"
432 msgid ""
433 "Members are added to a I<peer group> when a mount is marked as shared and "
434 "either:"
435 msgstr ""
436 "Члены добавляются в I<равноправную группу>, если точка монтирования "
437 "помечается как общая, или:"
438
439 #. type: IP
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "(a)"
444 msgstr "(а)"
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 #, fuzzy
450 #| msgid ""
451 #| "the mount point is replicated during the creation of a new mount "
452 #| "namespace; or"
453 msgid ""
454 "the mount is replicated during the creation of a new mount namespace; or"
455 msgstr ""
456 "точка монтирования копируется при создании нового пространства имён "
457 "монтирования"
458
459 #. type: IP
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 #, no-wrap
463 msgid "(b)"
464 msgstr "(б)"
465
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 #, fuzzy
470 #| msgid "a new bind mount is created from the mount point."
471 msgid "a new bind mount is created from the mount."
472 msgstr "создаётся новая привязка из точки монтирования"
473
474 #. type: Plain text
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 #, fuzzy
478 #| msgid ""
479 #| "In both of these cases, the new mount point joins the peer group of which "
480 #| "the existing mount point is a member."
481 msgid ""
482 "In both of these cases, the new mount joins the peer group of which the "
483 "existing mount is a member."
484 msgstr ""
485 "В обоих случаях новая точка монтирования присоединяется к равноправной "
486 "группе, в которую входит существующая точка монтирования."
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, fuzzy
492 #| msgid ""
493 #| "A new peer group is also created when a child mount point is created "
494 #| "under an existing mount point that is marked as shared. In this case, "
495 #| "the new child mount point is also marked as shared and the resulting peer "
496 #| "group consists of all the mount points that are replicated under the "
497 #| "peers of parent mount."
498 msgid ""
499 "A new peer group is also created when a child mount is created under an "
500 "existing mount that is marked as shared. In this case, the new child mount "
501 "is also marked as shared and the resulting peer group consists of all the "
502 "mounts that are replicated under the peers of parent mounts."
503 msgstr ""
504 "Новая равноправная группа также создаётся, если дочерняя точка монтирования "
505 "создана под существующей точкой монтирования, помеченной как общая. В этом "
506 "случае, новая дочерняя точка монтирования также помечается как общая и "
507 "получаемая равноправная группа состоит из всех точек монтирования, которые "
508 "дублируются в равноправных группах родительской точки монтирования."
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid ""
514 "A mount ceases to be a member of a peer group when either the mount is "
515 "explicitly unmounted, or when the mount is implicitly unmounted because a "
516 "mount namespace is removed (because it has no more member processes)."
517 msgstr ""
518 "Точка монтирования перестаёт быть членом равноправной группы, когда "
519 "происходит её явное размонтирование или неявное из-за удаления пространства "
520 "имён монтирования (из-за отсутствия участвующих процессов)."
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 #, fuzzy
526 #| msgid ""
527 #| "The propagation type of the mount points in a mount namespace can be "
528 #| "discovered via the \"optional fields\" exposed in I</proc/[pid]/"
529 #| "mountinfo>. (See B<proc>(5) for details of this file.) The following "
530 #| "tags can appear in the optional fields for a record in that file:"
531 msgid ""
532 "The propagation type of the mounts in a mount namespace can be discovered "
533 "via the \"optional fields\" exposed in I</proc/>pidI</mountinfo>. (See "
534 "B<proc>(5) for details of this file.) The following tags can appear in the "
535 "optional fields for a record in that file:"
536 msgstr ""
537 "Тип распространения точек монтирования в пространстве имён монтирования "
538 "может узнать через «необязательные поля» в файле I</proc/[pid]/mountinfo> "
539 "(описание файла смотрите в B<proc>(5)). В необязательных полях этого файла "
540 "могут появляться следующие метки:"
541
542 #. type: TP
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 #, no-wrap
546 msgid "I<shared:X>"
547 msgstr "I<shared:X>"
548
549 #. type: Plain text
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 #, fuzzy
553 #| msgid ""
554 #| "This mount point is shared in peer group I<X>. Each peer group has a "
555 #| "unique ID that is automatically generated by the kernel, and all mount "
556 #| "points in the same peer group will show the same ID. (These IDs are "
557 #| "assigned starting from the value 1, and may be recycled when a peer group "
558 #| "ceases to have any members.)"
559 msgid ""
560 "This mount is shared in peer group I<X>. Each peer group has a unique ID "
561 "that is automatically generated by the kernel, and all mounts in the same "
562 "peer group will show the same ID. (These IDs are assigned starting from the "
563 "value 1, and may be recycled when a peer group ceases to have any members.)"
564 msgstr ""
565 "Эта точка монтирования является общей в равноправной группе I<X>. Каждая "
566 "равноправная группа имеет автоматически генерируемый ядром уникальный "
567 "идентификатор, и у всех точек монтирования одной равноправной группы здесь "
568 "будет одинаковый идентификатор (эти идентификаторы начинаются с 1 и могут "
569 "повторно использоваться, когда в равноправной группе не останется членов)."
570
571 #. type: TP
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 #, no-wrap
575 msgid "I<master:X>"
576 msgstr "I<master:X>"
577
578 #. type: Plain text
579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
581 msgid "This mount is a slave to shared peer group I<X>."
582 msgstr ""
583 "Эта точка монтирования является подчинённой общей равноправной группе I<X>."
584
585 #. type: TP
586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
588 #, no-wrap
589 msgid "I<propagate_from:X> (since Linux 2.6.26)"
590 msgstr "I<propagate_from:X> (начиная с Linux 2.6.26)"
591
592 #. commit 97e7e0f71d6d948c25f11f0a33878d9356d9579e
593 #. type: Plain text
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 msgid ""
597 "This mount is a slave and receives propagation from shared peer group I<X>. "
598 "This tag will always appear in conjunction with a I<master:X> tag. Here, "
599 "I<X> is the closest dominant peer group under the process's root directory. "
600 "If I<X> is the immediate master of the mount, or if there is no dominant "
601 "peer group under the same root, then only the I<master:X> field is present "
602 "and not the I<propagate_from:X> field. For further details, see below."
603 msgstr ""
604 "Эта точка монтирования является подчинённой и принимает события от общей "
605 "равноправной группы I<X>. Данная метка всегда появляется вместе с меткой "
606 "I<master:X>. Здесь I<X> это ближайшая главенствующая равноправная группа из "
607 "корневого каталога процесса. Если I<X> является непосредственным владельцем "
608 "точки монтирования, или в том же корне нет ближайшей главенствующей "
609 "равноправной группы, то существует только поле I<master:X>, и поле "
610 "I<propagate_from:X> отсутствует. Подробности смотрите ниже."
611
612 #. type: TP
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 #, no-wrap
616 msgid "I<unbindable>"
617 msgstr "I<unbindable>"
618
619 #. type: Plain text
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 msgid "This is an unbindable mount."
623 msgstr "Точка монтирования является непривязываемой."
624
625 #. type: Plain text
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 msgid "If none of the above tags is present, then this is a private mount."
629 msgstr ""
630 "Если нет ни одной из вышеперечисленных меток, то точка монтирования является "
631 "индивидуальной."
632
633 #. type: SS
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 #, no-wrap
637 msgid "MS_SHARED and MS_PRIVATE example"
638 msgstr "Пример MS_SHARED и MS_PRIVATE"
639
640 #. type: Plain text
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 #, fuzzy
644 #| msgid ""
645 #| "Suppose that on a terminal in the initial mount namespace, we mark one "
646 #| "mount point as shared and another as private, and then view the mounts in "
647 #| "I</proc/self/mountinfo>:"
648 msgid ""
649 "Suppose that on a terminal in the initial mount namespace, we mark one mount "
650 "as shared and another as private, and then view the mounts in I</proc/self/"
651 "mountinfo>:"
652 msgstr ""
653 "Предположим, что на терминале в первоначальном пространстве имён "
654 "монтирования мы помечаем одну точку монтирования как общую, а другую — как "
655 "индивидуальную, и затем смотрим точки монтирования в I</proc/self/mountinfo>:"
656
657 #. type: Plain text
658 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
659 #: opensuse-tumbleweed
660 #, fuzzy, no-wrap
661 #| msgid ""
662 #| "sh1# B<mount --make-shared /mntS>\n"
663 #| "sh1# B<mount --make-private /mntP>\n"
664 #| "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
665 #| "77 61 8:17 / /mntS rw,relatime shared:1\n"
666 #| "83 61 8:15 / /mntP rw,relatime\n"
667 msgid ""
668 "sh1#B< mount --make-shared /mntS>\n"
669 "sh1#B< mount --make-private /mntP>\n"
670 "sh1#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
671 "77 61 8:17 / /mntS rw,relatime shared:1\n"
672 "83 61 8:15 / /mntP rw,relatime\n"
673 msgstr ""
674 "sh1# B<mount --make-shared /mntS>\n"
675 "sh1# B<mount --make-private /mntP>\n"
676 "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
677 "77 61 8:17 / /mntS rw,relatime shared:1\n"
678 "83 61 8:15 / /mntP rw,relatime\n"
679
680 #. type: Plain text
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 #, fuzzy
684 #| msgid ""
685 #| "From the I</proc/self/mountinfo> output, we see that I</mntS> is a shared "
686 #| "mount in peer group 1, and that I</mntP> has no optional tags, indicating "
687 #| "that it is a private mount. The first two fields in each record in this "
688 #| "file are the unique ID for this mount, and the mount ID of the parent "
689 #| "mount. We can further inspect this file to see that the parent mount "
690 #| "point of I</mntS> and I</mntP> is the root directory, I</>, which is "
691 #| "mounted as private:"
692 msgid ""
693 "From the I</proc/self/mountinfo> output, we see that I</mntS> is a shared "
694 "mount in peer group 1, and that I</mntP> has no optional tags, indicating "
695 "that it is a private mount. The first two fields in each record in this "
696 "file are the unique ID for this mount, and the mount ID of the parent "
697 "mount. We can further inspect this file to see that the parent mount of I</"
698 "mntS> and I</mntP> is the root directory, I</>, which is mounted as private:"
699 msgstr ""
700 "Из вывода I</proc/self/mountinfo> мы видим, что I</mntS> является общей "
701 "точкой монтирования в равноправной группе 1, и что I</mntP> не имеет "
702 "необязательных меток, то есть это индивидуальная точка монтирования. Первые "
703 "два поля в каждой записи этого файла содержат уникальный идентификатор этой "
704 "точки монтирования и идентификатор точки монтирования родительской точки "
705 "монтирования. Далее в файле мы видим, что родительская точка монтирования I</"
706 "mntS> и I</mntP> является корневым каталогом, I</>, которая смонтирована как "
707 "индивидуальная:"
708
709 #. type: Plain text
710 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
711 #: opensuse-tumbleweed
712 #, fuzzy, no-wrap
713 #| msgid ""
714 #| "sh1# B<cat /proc/self/mountinfo | awk \\(aq$1 == 61\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
715 #| "61 0 8:2 / / rw,relatime\n"
716 msgid ""
717 "sh1#B< cat /proc/self/mountinfo | awk \\[aq]$1 == 61\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
718 "61 0 8:2 / / rw,relatime\n"
719 msgstr ""
720 "sh1# B<cat /proc/self/mountinfo | awk \\(aq$1 == 61\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
721 "61 0 8:2 / / rw,relatime\n"
722
723 #. type: Plain text
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 msgid ""
727 "On a second terminal, we create a new mount namespace where we run a second "
728 "shell and inspect the mounts:"
729 msgstr ""
730 "На втором терминале мы создаём новое пространство имён монтирования, в "
731 "котором запускаем вторую оболочку, и смотрим точки монтирования:"
732
733 #. type: Plain text
734 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
735 #: opensuse-tumbleweed
736 #, fuzzy, no-wrap
737 #| msgid ""
738 #| "$ B<PS1=\\(aqsh2# \\(aq sudo unshare -m --propagation unchanged sh>\n"
739 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
740 #| "222 145 8:17 / /mntS rw,relatime shared:1\n"
741 #| "225 145 8:15 / /mntP rw,relatime\n"
742 msgid ""
743 "$B< PS1=\\[aq]sh2# \\[aq] sudo unshare -m --propagation unchanged sh>\n"
744 "sh2#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
745 "222 145 8:17 / /mntS rw,relatime shared:1\n"
746 "225 145 8:15 / /mntP rw,relatime\n"
747 msgstr ""
748 "$ B<PS1=\\(aqsh2# \\(aq sudo unshare -m --propagation unchanged sh>\n"
749 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
750 "222 145 8:17 / /mntS rw,relatime shared:1\n"
751 "225 145 8:15 / /mntP rw,relatime\n"
752
753 #. Since util-linux 2.27
754 #. type: Plain text
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 #, fuzzy
758 #| msgid ""
759 #| "The new mount namespace received a copy of the initial mount namespace's "
760 #| "mount points. These new mount points maintain the same propagation "
761 #| "types, but have unique mount IDs. (The I<--propagation\\ unchanged> "
762 #| "option prevents B<unshare>(1) from marking all mounts as private when "
763 #| "creating a new mount namespace, which it does by default.)"
764 msgid ""
765 "The new mount namespace received a copy of the initial mount namespace's "
766 "mounts. These new mounts maintain the same propagation types, but have "
767 "unique mount IDs. (The I<--propagation\\ unchanged> option prevents "
768 "B<unshare>(1) from marking all mounts as private when creating a new mount "
769 "namespace, which it does by default.)"
770 msgstr ""
771 "Новое пространство имён монтирования получает копию точек монтирования из "
772 "начального пространства имён монтирования. Эти новые точки монтирования "
773 "имеют тот же тип распространения, но другие уникальные идентификаторы "
774 "монтирования (при создании нового пространства имён монтирования передача "
775 "параметра I<--propagation\\ unchanged> программе B<unshare>(1) не даёт "
776 "помечать все точки монтирования как индивидуальные (что делается по "
777 "умолчанию))."
778
779 #. type: Plain text
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 msgid ""
783 "In the second terminal, we then create submounts under each of I</mntS> and "
784 "I</mntP> and inspect the set-up:"
785 msgstr ""
786 "Далее на втором терминале мы создаём подмонтирования в каталоге I</mntS> и "
787 "I</mntP> и смотрим что получилось:"
788
789 #. type: Plain text
790 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
791 #: opensuse-tumbleweed
792 #, fuzzy, no-wrap
793 #| msgid ""
794 #| "sh2# B<mkdir /mntS/a>\n"
795 #| "sh2# B<mount /dev/sdb6 /mntS/a>\n"
796 #| "sh2# B<mkdir /mntP/b>\n"
797 #| "sh2# B<mount /dev/sdb7 /mntP/b>\n"
798 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
799 #| "222 145 8:17 / /mntS rw,relatime shared:1\n"
800 #| "225 145 8:15 / /mntP rw,relatime\n"
801 #| "178 222 8:22 / /mntS/a rw,relatime shared:2\n"
802 #| "230 225 8:23 / /mntP/b rw,relatime\n"
803 msgid ""
804 "sh2#B< mkdir /mntS/a>\n"
805 "sh2#B< mount /dev/sdb6 /mntS/a>\n"
806 "sh2#B< mkdir /mntP/b>\n"
807 "sh2#B< mount /dev/sdb7 /mntP/b>\n"
808 "sh2#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
809 "222 145 8:17 / /mntS rw,relatime shared:1\n"
810 "225 145 8:15 / /mntP rw,relatime\n"
811 "178 222 8:22 / /mntS/a rw,relatime shared:2\n"
812 "230 225 8:23 / /mntP/b rw,relatime\n"
813 msgstr ""
814 "sh2# B<mkdir /mntS/a>\n"
815 "sh2# B<mount /dev/sdb6 /mntS/a>\n"
816 "sh2# B<mkdir /mntP/b>\n"
817 "sh2# B<mount /dev/sdb7 /mntP/b>\n"
818 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
819 "222 145 8:17 / /mntS rw,relatime shared:1\n"
820 "225 145 8:15 / /mntP rw,relatime\n"
821 "178 222 8:22 / /mntS/a rw,relatime shared:2\n"
822 "230 225 8:23 / /mntP/b rw,relatime\n"
823
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 msgid ""
828 "From the above, it can be seen that I</mntS/a> was created as shared "
829 "(inheriting this setting from its parent mount) and I</mntP/b> was created "
830 "as a private mount."
831 msgstr ""
832 "Из показанного выше мы видим, что I</mntS/a> была создана как общая "
833 "(унаследовала от родительской точки монтирования), а I</mntP/b> — как "
834 "индивидуальная точка монтирования."
835
836 #. type: Plain text
837 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
838 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
839 #, fuzzy
840 #| msgid ""
841 #| "Returning to the first terminal and inspecting the set-up, we see that "
842 #| "the new mount created under the shared mount point I</mntS> propagated to "
843 #| "its peer mount (in the initial mount namespace), but the new mount "
844 #| "created under the private mount point I</mntP> did not propagate:"
845 msgid ""
846 "Returning to the first terminal and inspecting the set-up, we see that the "
847 "new mount created under the shared mount I</mntS> propagated to its peer "
848 "mount (in the initial mount namespace), but the new mount created under the "
849 "private mount I</mntP> did not propagate:"
850 msgstr ""
851 "Если вернуться на первый терминал и и ещё раз посмотреть параметры, то можно "
852 "увидеть, что новая точка монтирования, созданная в общей точке монтирования "
853 "I</mntS>, передалась в свою равноправную группу монтирования (в начальном "
854 "пространстве имён монтирования), а новая точка монтирования, созданная в "
855 "индивидуальной точке монтирования I</mntP>, нет:"
856
857 #. type: Plain text
858 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
859 #: opensuse-tumbleweed
860 #, fuzzy, no-wrap
861 #| msgid ""
862 #| "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
863 #| "77 61 8:17 / /mntS rw,relatime shared:1\n"
864 #| "83 61 8:15 / /mntP rw,relatime\n"
865 #| "179 77 8:22 / /mntS/a rw,relatime shared:2\n"
866 msgid ""
867 "sh1#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
868 "77 61 8:17 / /mntS rw,relatime shared:1\n"
869 "83 61 8:15 / /mntP rw,relatime\n"
870 "179 77 8:22 / /mntS/a rw,relatime shared:2\n"
871 msgstr ""
872 "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
873 "77 61 8:17 / /mntS rw,relatime shared:1\n"
874 "83 61 8:15 / /mntP rw,relatime\n"
875 "179 77 8:22 / /mntS/a rw,relatime shared:2\n"
876
877 #. type: SS
878 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
879 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
880 #, no-wrap
881 msgid "MS_SLAVE example"
882 msgstr "Пример MS_SLAVE"
883
884 #. type: Plain text
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 #, fuzzy
888 #| msgid ""
889 #| "Making a mount point a slave allows it to receive propagated mount and "
890 #| "unmount events from a master shared peer group, while preventing it from "
891 #| "propagating events to that master. This is useful if we want to (say) "
892 #| "receive a mount event when an optical disk is mounted in the master "
893 #| "shared peer group (in another mount namespace), but want to prevent mount "
894 #| "and unmount events under the slave mount from having side effects in "
895 #| "other namespaces."
896 msgid ""
897 "Making a mount a slave allows it to receive propagated B<mount>(2) and "
898 "B<umount>(2) events from a master shared peer group, while preventing it "
899 "from propagating events to that master. This is useful if we want to (say) "
900 "receive a mount event when an optical disk is mounted in the master shared "
901 "peer group (in another mount namespace), but want to prevent B<mount>(2) "
902 "and B<umount>(2) events under the slave mount from having side effects in "
903 "other namespaces."
904 msgstr ""
905 "Создание подчинённой точки монтирования позволяет ей принимать "
906 "распространяемые события монтирования и размонтирования из главной общей "
907 "равноправной группы, но запрещает распространять события в эту главную "
908 "группу. Это полезно, если требуется, скажем, принимать событие монтирования "
909 "оптического диска в главной общей равноправной группе (в другом пространстве "
910 "имён монтирования), но не нужно, чтобы события монтирования и "
911 "размонтирования в подчинённой точке монтирования передавались в другие "
912 "пространства имён."
913
914 #. type: Plain text
915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
917 #, fuzzy
918 #| msgid ""
919 #| "We can demonstrate the effect of slaving by first marking two mount "
920 #| "points as shared in the initial mount namespace:"
921 msgid ""
922 "We can demonstrate the effect of slaving by first marking two mounts as "
923 "shared in the initial mount namespace:"
924 msgstr ""
925 "Для демонстрации следствия подчинённости сначала создадим две общие точки "
926 "монтирования в начальном пространстве имён монтирования:"
927
928 #. type: Plain text
929 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
930 #: opensuse-tumbleweed
931 #, fuzzy, no-wrap
932 #| msgid ""
933 #| "sh1# B<mount --make-shared /mntX>\n"
934 #| "sh1# B<mount --make-shared /mntY>\n"
935 #| "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
936 #| "132 83 8:23 / /mntX rw,relatime shared:1\n"
937 #| "133 83 8:22 / /mntY rw,relatime shared:2\n"
938 msgid ""
939 "sh1#B< mount --make-shared /mntX>\n"
940 "sh1#B< mount --make-shared /mntY>\n"
941 "sh1#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
942 "132 83 8:23 / /mntX rw,relatime shared:1\n"
943 "133 83 8:22 / /mntY rw,relatime shared:2\n"
944 msgstr ""
945 "sh1# B<mount --make-shared /mntX>\n"
946 "sh1# B<mount --make-shared /mntY>\n"
947 "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
948 "132 83 8:23 / /mntX rw,relatime shared:1\n"
949 "133 83 8:22 / /mntY rw,relatime shared:2\n"
950
951 #. type: Plain text
952 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
953 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
954 #, fuzzy
955 #| msgid ""
956 #| "On a second terminal, we create a new mount namespace and inspect the "
957 #| "mount points:"
958 msgid ""
959 "On a second terminal, we create a new mount namespace and inspect the mounts:"
960 msgstr ""
961 "На втором терминале создадим новое пространство имён монтирования и "
962 "посмотрим точки монтирования:"
963
964 #. type: Plain text
965 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
966 #: opensuse-tumbleweed
967 #, fuzzy, no-wrap
968 #| msgid ""
969 #| "sh2# B<unshare -m --propagation unchanged sh>\n"
970 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
971 #| "168 167 8:23 / /mntX rw,relatime shared:1\n"
972 #| "169 167 8:22 / /mntY rw,relatime shared:2\n"
973 msgid ""
974 "sh2#B< unshare -m --propagation unchanged sh>\n"
975 "sh2#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
976 "168 167 8:23 / /mntX rw,relatime shared:1\n"
977 "169 167 8:22 / /mntY rw,relatime shared:2\n"
978 msgstr ""
979 "sh2# B<unshare -m --propagation unchanged sh>\n"
980 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
981 "168 167 8:23 / /mntX rw,relatime shared:1\n"
982 "169 167 8:22 / /mntY rw,relatime shared:2\n"
983
984 #. type: Plain text
985 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
986 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
987 #, fuzzy
988 #| msgid ""
989 #| "In the new mount namespace, we then mark one of the mount points as a "
990 #| "slave:"
991 msgid "In the new mount namespace, we then mark one of the mounts as a slave:"
992 msgstr ""
993 "Далее в новом пространстве имён монтирования пометим одну из точек "
994 "монтирования как подчинённую:"
995
996 #. type: Plain text
997 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
998 #: opensuse-tumbleweed
999 #, fuzzy, no-wrap
1000 #| msgid ""
1001 #| "sh2# B<mount --make-slave /mntY>\n"
1002 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
1003 #| "168 167 8:23 / /mntX rw,relatime shared:1\n"
1004 #| "169 167 8:22 / /mntY rw,relatime master:2\n"
1005 msgid ""
1006 "sh2#B< mount --make-slave /mntY>\n"
1007 "sh2#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
1008 "168 167 8:23 / /mntX rw,relatime shared:1\n"
1009 "169 167 8:22 / /mntY rw,relatime master:2\n"
1010 msgstr ""
1011 "sh2# B<mount --make-slave /mntY>\n"
1012 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
1013 "168 167 8:23 / /mntX rw,relatime shared:1\n"
1014 "169 167 8:22 / /mntY rw,relatime master:2\n"
1015
1016 #. type: Plain text
1017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1019 msgid ""
1020 "From the above output, we see that I</mntY> is now a slave mount that is "
1021 "receiving propagation events from the shared peer group with the ID 2."
1022 msgstr ""
1023 "Из показанного выше видно, что I</mntY> теперь подчинённая точка "
1024 "монтирования, которая принимать распространяемые события от общей "
1025 "равноправной группы с ID 2."
1026
1027 #. type: Plain text
1028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1029 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1030 msgid ""
1031 "Continuing in the new namespace, we create submounts under each of I</mntX> "
1032 "and I</mntY>:"
1033 msgstr ""
1034 "Далее в новом пространстве имён создадим подмонтирования в I</mntX> и I</"
1035 "mntY>:"
1036
1037 #. type: Plain text
1038 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1039 #: opensuse-tumbleweed
1040 #, fuzzy, no-wrap
1041 #| msgid ""
1042 #| "sh2# B<mkdir /mntX/a>\n"
1043 #| "sh2# B<mount /dev/sda3 /mntX/a>\n"
1044 #| "sh2# B<mkdir /mntY/b>\n"
1045 #| "sh2# B<mount /dev/sda5 /mntY/b>\n"
1046 msgid ""
1047 "sh2#B< mkdir /mntX/a>\n"
1048 "sh2#B< mount /dev/sda3 /mntX/a>\n"
1049 "sh2#B< mkdir /mntY/b>\n"
1050 "sh2#B< mount /dev/sda5 /mntY/b>\n"
1051 msgstr ""
1052 "sh2# B<mkdir /mntX/a>\n"
1053 "sh2# B<mount /dev/sda3 /mntX/a>\n"
1054 "sh2# B<mkdir /mntY/b>\n"
1055 "sh2# B<mount /dev/sda5 /mntY/b>\n"
1056
1057 #. type: Plain text
1058 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1059 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1060 #, fuzzy
1061 #| msgid ""
1062 #| "When we inspect the state of the mount points in the new mount namespace, "
1063 #| "we see that I</mntX/a> was created as a new shared mount (inheriting the "
1064 #| "\"shared\" setting from its parent mount) and I</mntY/b> was created as a "
1065 #| "private mount:"
1066 msgid ""
1067 "When we inspect the state of the mounts in the new mount namespace, we see "
1068 "that I</mntX/a> was created as a new shared mount (inheriting the \"shared\" "
1069 "setting from its parent mount) and I</mntY/b> was created as a private mount:"
1070 msgstr ""
1071 "Если посмотреть состояние точек монтирования в новом пространстве имён "
1072 "монтирования можно увидеть, что I</mntX/a> создана как новая общая точка "
1073 "монтирования (наследует «общность» от родительской точки монтирования), а I</"
1074 "mntY/b> создана как индивидуальная точка монтирования:"
1075
1076 #. type: Plain text
1077 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1078 #: opensuse-tumbleweed
1079 #, fuzzy, no-wrap
1080 #| msgid ""
1081 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
1082 #| "168 167 8:23 / /mntX rw,relatime shared:1\n"
1083 #| "169 167 8:22 / /mntY rw,relatime master:2\n"
1084 #| "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
1085 #| "175 169 8:5 / /mntY/b rw,relatime\n"
1086 msgid ""
1087 "sh2#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
1088 "168 167 8:23 / /mntX rw,relatime shared:1\n"
1089 "169 167 8:22 / /mntY rw,relatime master:2\n"
1090 "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
1091 "175 169 8:5 / /mntY/b rw,relatime\n"
1092 msgstr ""
1093 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
1094 "168 167 8:23 / /mntX rw,relatime shared:1\n"
1095 "169 167 8:22 / /mntY rw,relatime master:2\n"
1096 "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
1097 "175 169 8:5 / /mntY/b rw,relatime\n"
1098
1099 #. type: Plain text
1100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1102 msgid ""
1103 "Returning to the first terminal (in the initial mount namespace), we see "
1104 "that the mount I</mntX/a> propagated to the peer (the shared I</mntX>), but "
1105 "the mount I</mntY/b> was not propagated:"
1106 msgstr ""
1107 "Если вернуться на первый терминал (в начальное пространство имён "
1108 "монтирования), то можно увидеть, что точка монтирования I</mntX/a> "
1109 "передалась в свою равноправную группу (общую с I</mntX>), а точка "
1110 "монтирования I</mntY/b> нет:"
1111
1112 #. type: Plain text
1113 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1114 #: opensuse-tumbleweed
1115 #, fuzzy, no-wrap
1116 #| msgid ""
1117 #| "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
1118 #| "132 83 8:23 / /mntX rw,relatime shared:1\n"
1119 #| "133 83 8:22 / /mntY rw,relatime shared:2\n"
1120 #| "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
1121 msgid ""
1122 "sh1#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
1123 "132 83 8:23 / /mntX rw,relatime shared:1\n"
1124 "133 83 8:22 / /mntY rw,relatime shared:2\n"
1125 "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
1126 msgstr ""
1127 "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
1128 "132 83 8:23 / /mntX rw,relatime shared:1\n"
1129 "133 83 8:22 / /mntY rw,relatime shared:2\n"
1130 "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
1131
1132 #. type: Plain text
1133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1135 #, fuzzy
1136 #| msgid "Now we create a new mount point under I</mntY> in the first shell:"
1137 msgid "Now we create a new mount under I</mntY> in the first shell:"
1138 msgstr ""
1139 "Теперь создадим новую точку монтирования в I</mntY> в первом терминале:"
1140
1141 #. type: Plain text
1142 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1143 #: opensuse-tumbleweed
1144 #, fuzzy, no-wrap
1145 #| msgid ""
1146 #| "sh1# B<mkdir /mntY/c>\n"
1147 #| "sh1# B<mount /dev/sda1 /mntY/c>\n"
1148 #| "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
1149 #| "132 83 8:23 / /mntX rw,relatime shared:1\n"
1150 #| "133 83 8:22 / /mntY rw,relatime shared:2\n"
1151 #| "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
1152 #| "178 133 8:1 / /mntY/c rw,relatime shared:4\n"
1153 msgid ""
1154 "sh1#B< mkdir /mntY/c>\n"
1155 "sh1#B< mount /dev/sda1 /mntY/c>\n"
1156 "sh1#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
1157 "132 83 8:23 / /mntX rw,relatime shared:1\n"
1158 "133 83 8:22 / /mntY rw,relatime shared:2\n"
1159 "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
1160 "178 133 8:1 / /mntY/c rw,relatime shared:4\n"
1161 msgstr ""
1162 "sh1# B<mkdir /mntY/c>\n"
1163 "sh1# B<mount /dev/sda1 /mntY/c>\n"
1164 "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
1165 "132 83 8:23 / /mntX rw,relatime shared:1\n"
1166 "133 83 8:22 / /mntY rw,relatime shared:2\n"
1167 "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
1168 "178 133 8:1 / /mntY/c rw,relatime shared:4\n"
1169
1170 #. type: Plain text
1171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1173 #, fuzzy
1174 #| msgid ""
1175 #| "When we examine the mount points in the second mount namespace, we see "
1176 #| "that in this case the new mount has been propagated to the slave mount "
1177 #| "point, and that the new mount is itself a slave mount (to peer group 4):"
1178 msgid ""
1179 "When we examine the mounts in the second mount namespace, we see that in "
1180 "this case the new mount has been propagated to the slave mount, and that the "
1181 "new mount is itself a slave mount (to peer group 4):"
1182 msgstr ""
1183 "Если посмотреть точки монтирования во втором пространстве имён монтирования, "
1184 "то можно увидеть, что на этот раз новая точка монтирования передалась в "
1185 "подчинённую точку монтирования и что эта новая точка монтирования сама "
1186 "является подчинённой (равноправной группе 4):"
1187
1188 #. type: Plain text
1189 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1190 #: opensuse-tumbleweed
1191 #, fuzzy, no-wrap
1192 #| msgid ""
1193 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
1194 #| "168 167 8:23 / /mntX rw,relatime shared:1\n"
1195 #| "169 167 8:22 / /mntY rw,relatime master:2\n"
1196 #| "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
1197 #| "175 169 8:5 / /mntY/b rw,relatime\n"
1198 #| "179 169 8:1 / /mntY/c rw,relatime master:4\n"
1199 msgid ""
1200 "sh2#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
1201 "168 167 8:23 / /mntX rw,relatime shared:1\n"
1202 "169 167 8:22 / /mntY rw,relatime master:2\n"
1203 "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
1204 "175 169 8:5 / /mntY/b rw,relatime\n"
1205 "179 169 8:1 / /mntY/c rw,relatime master:4\n"
1206 msgstr ""
1207 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
1208 "168 167 8:23 / /mntX rw,relatime shared:1\n"
1209 "169 167 8:22 / /mntY rw,relatime master:2\n"
1210 "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
1211 "175 169 8:5 / /mntY/b rw,relatime\n"
1212 "179 169 8:1 / /mntY/c rw,relatime master:4\n"
1213
1214 #. type: SS
1215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1217 #, no-wrap
1218 msgid "MS_UNBINDABLE example"
1219 msgstr "Пример MS_UNBINDABLE"
1220
1221 #. type: Plain text
1222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1224 #, fuzzy
1225 #| msgid ""
1226 #| "One of the primary purposes of unbindable mounts is to avoid the \"mount "
1227 #| "point explosion\" problem when repeatedly performing bind mounts of a "
1228 #| "higher-level subtree at a lower-level mount point. The problem is "
1229 #| "illustrated by the following shell session."
1230 msgid ""
1231 "One of the primary purposes of unbindable mounts is to avoid the \"mount "
1232 "explosion\" problem when repeatedly performing bind mounts of a higher-level "
1233 "subtree at a lower-level mount. The problem is illustrated by the following "
1234 "shell session."
1235 msgstr ""
1236 "Одним из основных назначений непривязываемых точек монтирования является "
1237 "решение проблемы «взрыва точек монтирования» — повторяющееся выполнение "
1238 "привязки точки монтирования поддерева верхнего уровня в точках монтирования "
1239 "нижнего уровня. Эта проблема показана в сеансе далее."
1240
1241 #. type: Plain text
1242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1244 #, fuzzy
1245 #| msgid "Suppose we have a system with the following mount points:"
1246 msgid "Suppose we have a system with the following mounts:"
1247 msgstr "Предположим, что имеется система с следующими точками монтирования:"
1248
1249 #. type: Plain text
1250 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1251 #: opensuse-tumbleweed
1252 #, fuzzy, no-wrap
1253 #| msgid ""
1254 #| "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
1255 #| "/dev/sda1 on /\n"
1256 #| "/dev/sdb6 on /mntX\n"
1257 #| "/dev/sdb7 on /mntY\n"
1258 msgid ""
1259 "#B< mount | awk \\[aq]{print $1, $2, $3}\\[aq]>\n"
1260 "/dev/sda1 on /\n"
1261 "/dev/sdb6 on /mntX\n"
1262 "/dev/sdb7 on /mntY\n"
1263 msgstr ""
1264 "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
1265 "/dev/sda1 on /\n"
1266 "/dev/sdb6 on /mntX\n"
1267 "/dev/sdb7 on /mntY\n"
1268
1269 #. type: Plain text
1270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1272 #, fuzzy
1273 #| msgid ""
1274 #| "Suppose furthermore that we wish to recursively bind mount the root "
1275 #| "directory under several users' home directories. We do this for the "
1276 #| "first user, and inspect the mount points:"
1277 msgid ""
1278 "Suppose furthermore that we wish to recursively bind mount the root "
1279 "directory under several users' home directories. We do this for the first "
1280 "user, and inspect the mounts:"
1281 msgstr ""
1282 "Предположим, что нужно рекурсивно привязать точки монтирования корневого "
1283 "каталога в нескольких пользовательских домашних каталогах. Сделаем это для "
1284 "первого пользователя и посмотрим точки монтирования:"
1285
1286 #. type: Plain text
1287 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1288 #: opensuse-tumbleweed
1289 #, fuzzy, no-wrap
1290 #| msgid ""
1291 #| "# B<mount --rbind / /home/cecilia/>\n"
1292 #| "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
1293 #| "/dev/sda1 on /\n"
1294 #| "/dev/sdb6 on /mntX\n"
1295 #| "/dev/sdb7 on /mntY\n"
1296 #| "/dev/sda1 on /home/cecilia\n"
1297 #| "/dev/sdb6 on /home/cecilia/mntX\n"
1298 #| "/dev/sdb7 on /home/cecilia/mntY\n"
1299 msgid ""
1300 "#B< mount --rbind / /home/cecilia/>\n"
1301 "#B< mount | awk \\[aq]{print $1, $2, $3}\\[aq]>\n"
1302 "/dev/sda1 on /\n"
1303 "/dev/sdb6 on /mntX\n"
1304 "/dev/sdb7 on /mntY\n"
1305 "/dev/sda1 on /home/cecilia\n"
1306 "/dev/sdb6 on /home/cecilia/mntX\n"
1307 "/dev/sdb7 on /home/cecilia/mntY\n"
1308 msgstr ""
1309 "# B<mount --rbind / /home/cecilia/>\n"
1310 "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
1311 "/dev/sda1 on /\n"
1312 "/dev/sdb6 on /mntX\n"
1313 "/dev/sdb7 on /mntY\n"
1314 "/dev/sda1 on /home/cecilia\n"
1315 "/dev/sdb6 on /home/cecilia/mntX\n"
1316 "/dev/sdb7 on /home/cecilia/mntY\n"
1317
1318 #. type: Plain text
1319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1321 msgid ""
1322 "When we repeat this operation for the second user, we start to see the "
1323 "explosion problem:"
1324 msgstr ""
1325 "Повторяя эту операцию для второго пользователя сталкиваемся с проблемой "
1326 "взрывного роста:"
1327
1328 #. type: Plain text
1329 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1330 #: opensuse-tumbleweed
1331 #, fuzzy, no-wrap
1332 #| msgid ""
1333 #| "# B<mount --rbind / /home/henry>\n"
1334 #| "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
1335 #| "/dev/sda1 on /\n"
1336 #| "/dev/sdb6 on /mntX\n"
1337 #| "/dev/sdb7 on /mntY\n"
1338 #| "/dev/sda1 on /home/cecilia\n"
1339 #| "/dev/sdb6 on /home/cecilia/mntX\n"
1340 #| "/dev/sdb7 on /home/cecilia/mntY\n"
1341 #| "/dev/sda1 on /home/henry\n"
1342 #| "/dev/sdb6 on /home/henry/mntX\n"
1343 #| "/dev/sdb7 on /home/henry/mntY\n"
1344 #| "/dev/sda1 on /home/henry/home/cecilia\n"
1345 #| "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
1346 #| "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
1347 msgid ""
1348 "#B< mount --rbind / /home/henry>\n"
1349 "#B< mount | awk \\[aq]{print $1, $2, $3}\\[aq]>\n"
1350 "/dev/sda1 on /\n"
1351 "/dev/sdb6 on /mntX\n"
1352 "/dev/sdb7 on /mntY\n"
1353 "/dev/sda1 on /home/cecilia\n"
1354 "/dev/sdb6 on /home/cecilia/mntX\n"
1355 "/dev/sdb7 on /home/cecilia/mntY\n"
1356 "/dev/sda1 on /home/henry\n"
1357 "/dev/sdb6 on /home/henry/mntX\n"
1358 "/dev/sdb7 on /home/henry/mntY\n"
1359 "/dev/sda1 on /home/henry/home/cecilia\n"
1360 "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
1361 "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
1362 msgstr ""
1363 "# B<mount --rbind / /home/henry>\n"
1364 "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
1365 "/dev/sda1 on /\n"
1366 "/dev/sdb6 on /mntX\n"
1367 "/dev/sdb7 on /mntY\n"
1368 "/dev/sda1 on /home/cecilia\n"
1369 "/dev/sdb6 on /home/cecilia/mntX\n"
1370 "/dev/sdb7 on /home/cecilia/mntY\n"
1371 "/dev/sda1 on /home/henry\n"
1372 "/dev/sdb6 on /home/henry/mntX\n"
1373 "/dev/sdb7 on /home/henry/mntY\n"
1374 "/dev/sda1 on /home/henry/home/cecilia\n"
1375 "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
1376 "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
1377
1378 #. type: Plain text
1379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1381 msgid ""
1382 "Under I</home/henry>, we have not only recursively added the I</mntX> and I</"
1383 "mntY> mounts, but also the recursive mounts of those directories under I</"
1384 "home/cecilia> that were created in the previous step. Upon repeating the "
1385 "step for a third user, it becomes obvious that the explosion is exponential "
1386 "in nature:"
1387 msgstr ""
1388 "В I</home/henry> рекурсивно добавились не только точки монтирования I</mntX> "
1389 "и I</mntY>, но и рекурсивные точки монтирования этих каталогов, "
1390 "смонтированных в I</home/cecilia>, который мы создали на предыдущем шаге. "
1391 "Далее повторяя процесс для третьего пользователя, станет очевидно, что "
1392 "взрывной рост происходит экспоненциально:"
1393
1394 #. type: Plain text
1395 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1396 #: opensuse-tumbleweed
1397 #, fuzzy, no-wrap
1398 #| msgid ""
1399 #| "# B<mount --rbind / /home/otto>\n"
1400 #| "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
1401 #| "/dev/sda1 on /\n"
1402 #| "/dev/sdb6 on /mntX\n"
1403 #| "/dev/sdb7 on /mntY\n"
1404 #| "/dev/sda1 on /home/cecilia\n"
1405 #| "/dev/sdb6 on /home/cecilia/mntX\n"
1406 #| "/dev/sdb7 on /home/cecilia/mntY\n"
1407 #| "/dev/sda1 on /home/henry\n"
1408 #| "/dev/sdb6 on /home/henry/mntX\n"
1409 #| "/dev/sdb7 on /home/henry/mntY\n"
1410 #| "/dev/sda1 on /home/henry/home/cecilia\n"
1411 #| "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
1412 #| "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
1413 #| "/dev/sda1 on /home/otto\n"
1414 #| "/dev/sdb6 on /home/otto/mntX\n"
1415 #| "/dev/sdb7 on /home/otto/mntY\n"
1416 #| "/dev/sda1 on /home/otto/home/cecilia\n"
1417 #| "/dev/sdb6 on /home/otto/home/cecilia/mntX\n"
1418 #| "/dev/sdb7 on /home/otto/home/cecilia/mntY\n"
1419 #| "/dev/sda1 on /home/otto/home/henry\n"
1420 #| "/dev/sdb6 on /home/otto/home/henry/mntX\n"
1421 #| "/dev/sdb7 on /home/otto/home/henry/mntY\n"
1422 #| "/dev/sda1 on /home/otto/home/henry/home/cecilia\n"
1423 #| "/dev/sdb6 on /home/otto/home/henry/home/cecilia/mntX\n"
1424 #| "/dev/sdb7 on /home/otto/home/henry/home/cecilia/mntY\n"
1425 msgid ""
1426 "#B< mount --rbind / /home/otto>\n"
1427 "#B< mount | awk \\[aq]{print $1, $2, $3}\\[aq]>\n"
1428 "/dev/sda1 on /\n"
1429 "/dev/sdb6 on /mntX\n"
1430 "/dev/sdb7 on /mntY\n"
1431 "/dev/sda1 on /home/cecilia\n"
1432 "/dev/sdb6 on /home/cecilia/mntX\n"
1433 "/dev/sdb7 on /home/cecilia/mntY\n"
1434 "/dev/sda1 on /home/henry\n"
1435 "/dev/sdb6 on /home/henry/mntX\n"
1436 "/dev/sdb7 on /home/henry/mntY\n"
1437 "/dev/sda1 on /home/henry/home/cecilia\n"
1438 "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
1439 "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
1440 "/dev/sda1 on /home/otto\n"
1441 "/dev/sdb6 on /home/otto/mntX\n"
1442 "/dev/sdb7 on /home/otto/mntY\n"
1443 "/dev/sda1 on /home/otto/home/cecilia\n"
1444 "/dev/sdb6 on /home/otto/home/cecilia/mntX\n"
1445 "/dev/sdb7 on /home/otto/home/cecilia/mntY\n"
1446 "/dev/sda1 on /home/otto/home/henry\n"
1447 "/dev/sdb6 on /home/otto/home/henry/mntX\n"
1448 "/dev/sdb7 on /home/otto/home/henry/mntY\n"
1449 "/dev/sda1 on /home/otto/home/henry/home/cecilia\n"
1450 "/dev/sdb6 on /home/otto/home/henry/home/cecilia/mntX\n"
1451 "/dev/sdb7 on /home/otto/home/henry/home/cecilia/mntY\n"
1452 msgstr ""
1453 "# B<mount --rbind / /home/otto>\n"
1454 "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
1455 "/dev/sda1 on /\n"
1456 "/dev/sdb6 on /mntX\n"
1457 "/dev/sdb7 on /mntY\n"
1458 "/dev/sda1 on /home/cecilia\n"
1459 "/dev/sdb6 on /home/cecilia/mntX\n"
1460 "/dev/sdb7 on /home/cecilia/mntY\n"
1461 "/dev/sda1 on /home/henry\n"
1462 "/dev/sdb6 on /home/henry/mntX\n"
1463 "/dev/sdb7 on /home/henry/mntY\n"
1464 "/dev/sda1 on /home/henry/home/cecilia\n"
1465 "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
1466 "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
1467 "/dev/sda1 on /home/otto\n"
1468 "/dev/sdb6 on /home/otto/mntX\n"
1469 "/dev/sdb7 on /home/otto/mntY\n"
1470 "/dev/sda1 on /home/otto/home/cecilia\n"
1471 "/dev/sdb6 on /home/otto/home/cecilia/mntX\n"
1472 "/dev/sdb7 on /home/otto/home/cecilia/mntY\n"
1473 "/dev/sda1 on /home/otto/home/henry\n"
1474 "/dev/sdb6 on /home/otto/home/henry/mntX\n"
1475 "/dev/sdb7 on /home/otto/home/henry/mntY\n"
1476 "/dev/sda1 on /home/otto/home/henry/home/cecilia\n"
1477 "/dev/sdb6 on /home/otto/home/henry/home/cecilia/mntX\n"
1478 "/dev/sdb7 on /home/otto/home/henry/home/cecilia/mntY\n"
1479
1480 #. type: Plain text
1481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1483 msgid ""
1484 "The mount explosion problem in the above scenario can be avoided by making "
1485 "each of the new mounts unbindable. The effect of doing this is that "
1486 "recursive mounts of the root directory will not replicate the unbindable "
1487 "mounts. We make such a mount for the first user:"
1488 msgstr ""
1489 "Проблемы взрывного роста монтирования в показанном сценарии можно избежать, "
1490 "если делать каждое новое монтирование непривязываемым. В этом случае "
1491 "рекурсивное монтирование корневого каталоге не копирует непривязываемые "
1492 "точки монтирования. Сделаем такое монтирование для первого пользователя:"
1493
1494 #. type: Plain text
1495 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1496 #: opensuse-tumbleweed
1497 #, fuzzy, no-wrap
1498 #| msgid "# B<mount --rbind --make-unbindable / /home/cecilia>\n"
1499 msgid "#B< mount --rbind --make-unbindable / /home/cecilia>\n"
1500 msgstr "# B<mount --rbind --make-unbindable / /home/cecilia>\n"
1501
1502 #. type: Plain text
1503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1505 msgid ""
1506 "Before going further, we show that unbindable mounts are indeed unbindable:"
1507 msgstr ""
1508 "Перед тем как продолжить, посмотрим, что непривязываемые точки монтирования "
1509 "действительно нельзя привязать:"
1510
1511 #. type: Plain text
1512 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1513 #: opensuse-tumbleweed
1514 #, fuzzy, no-wrap
1515 #| msgid ""
1516 #| "# B<mkdir /mntZ>\n"
1517 #| "# B<mount --bind /home/cecilia /mntZ>\n"
1518 #| "mount: wrong fs type, bad option, bad superblock on /home/cecilia,\n"
1519 #| " missing codepage or helper program, or other error\n"
1520 msgid ""
1521 "#B< mkdir /mntZ>\n"
1522 "#B< mount --bind /home/cecilia /mntZ>\n"
1523 "mount: wrong fs type, bad option, bad superblock on /home/cecilia,\n"
1524 " missing codepage or helper program, or other error\n"
1525 "\\&\n"
1526 " In some cases useful info is found in syslog - try\n"
1527 " dmesg | tail or so.\n"
1528 msgstr ""
1529 "# B<mkdir /mntZ>\n"
1530 "# B<mount --bind /home/cecilia /mntZ>\n"
1531 "mount: wrong fs type, bad option, bad superblock on /home/cecilia,\n"
1532 " missing codepage or helper program, or other error\n"
1533
1534 #. type: Plain text
1535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1537 msgid "Now we create unbindable recursive bind mounts for the other two users:"
1538 msgstr ""
1539 "Теперь создадим непривязываемое рекурсивное монтирования для остальных "
1540 "пользователей:"
1541
1542 #. type: Plain text
1543 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1544 #: opensuse-tumbleweed
1545 #, fuzzy, no-wrap
1546 #| msgid ""
1547 #| "# B<mount --rbind --make-unbindable / /home/henry>\n"
1548 #| "# B<mount --rbind --make-unbindable / /home/otto>\n"
1549 msgid ""
1550 "#B< mount --rbind --make-unbindable / /home/henry>\n"
1551 "#B< mount --rbind --make-unbindable / /home/otto>\n"
1552 msgstr ""
1553 "# B<mount --rbind --make-unbindable / /home/henry>\n"
1554 "# B<mount --rbind --make-unbindable / /home/otto>\n"
1555
1556 #. type: Plain text
1557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1559 #, fuzzy
1560 #| msgid ""
1561 #| "Upon examining the list of mount points, we see there has been no "
1562 #| "explosion of mount points, because the unbindable mounts were not "
1563 #| "replicated under each user's directory:"
1564 msgid ""
1565 "Upon examining the list of mounts, we see there has been no explosion of "
1566 "mounts, because the unbindable mounts were not replicated under each user's "
1567 "directory:"
1568 msgstr ""
1569 "Если посмотреть список точек монтирования, то можно увидеть, что взрывного "
1570 "роста не произошло, так как непривязываемые точки монтирования не "
1571 "скопировались в каждый пользовательский каталог:"
1572
1573 #. type: Plain text
1574 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1575 #: opensuse-tumbleweed
1576 #, fuzzy, no-wrap
1577 #| msgid ""
1578 #| "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
1579 #| "/dev/sda1 on /\n"
1580 #| "/dev/sdb6 on /mntX\n"
1581 #| "/dev/sdb7 on /mntY\n"
1582 #| "/dev/sda1 on /home/cecilia\n"
1583 #| "/dev/sdb6 on /home/cecilia/mntX\n"
1584 #| "/dev/sdb7 on /home/cecilia/mntY\n"
1585 #| "/dev/sda1 on /home/henry\n"
1586 #| "/dev/sdb6 on /home/henry/mntX\n"
1587 #| "/dev/sdb7 on /home/henry/mntY\n"
1588 #| "/dev/sda1 on /home/otto\n"
1589 #| "/dev/sdb6 on /home/otto/mntX\n"
1590 #| "/dev/sdb7 on /home/otto/mntY\n"
1591 msgid ""
1592 "#B< mount | awk \\[aq]{print $1, $2, $3}\\[aq]>\n"
1593 "/dev/sda1 on /\n"
1594 "/dev/sdb6 on /mntX\n"
1595 "/dev/sdb7 on /mntY\n"
1596 "/dev/sda1 on /home/cecilia\n"
1597 "/dev/sdb6 on /home/cecilia/mntX\n"
1598 "/dev/sdb7 on /home/cecilia/mntY\n"
1599 "/dev/sda1 on /home/henry\n"
1600 "/dev/sdb6 on /home/henry/mntX\n"
1601 "/dev/sdb7 on /home/henry/mntY\n"
1602 "/dev/sda1 on /home/otto\n"
1603 "/dev/sdb6 on /home/otto/mntX\n"
1604 "/dev/sdb7 on /home/otto/mntY\n"
1605 msgstr ""
1606 "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
1607 "/dev/sda1 on /\n"
1608 "/dev/sdb6 on /mntX\n"
1609 "/dev/sdb7 on /mntY\n"
1610 "/dev/sda1 on /home/cecilia\n"
1611 "/dev/sdb6 on /home/cecilia/mntX\n"
1612 "/dev/sdb7 on /home/cecilia/mntY\n"
1613 "/dev/sda1 on /home/henry\n"
1614 "/dev/sdb6 on /home/henry/mntX\n"
1615 "/dev/sdb7 on /home/henry/mntY\n"
1616 "/dev/sda1 on /home/otto\n"
1617 "/dev/sdb6 on /home/otto/mntX\n"
1618 "/dev/sdb7 on /home/otto/mntY\n"
1619
1620 #. type: SS
1621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1623 #, no-wrap
1624 msgid "Propagation type transitions"
1625 msgstr "Переходы типов распространения"
1626
1627 #. type: Plain text
1628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1630 #, fuzzy
1631 #| msgid ""
1632 #| "The following table shows the effect that applying a new propagation type "
1633 #| "(i.e., I<mount --make-xxxx>) has on the existing propagation type of a "
1634 #| "mount point. The rows correspond to existing propagation types, and the "
1635 #| "columns are the new propagation settings. For reasons of space, "
1636 #| "\"private\" is abbreviated as \"priv\" and \"unbindable\" as \"unbind\"."
1637 msgid ""
1638 "The following table shows the effect that applying a new propagation type "
1639 "(i.e., I<mount\\ --make-xxxx>) has on the existing propagation type of a "
1640 "mount. The rows correspond to existing propagation types, and the columns "
1641 "are the new propagation settings. For reasons of space, \"private\" is "
1642 "abbreviated as \"priv\" and \"unbindable\" as \"unbind\"."
1643 msgstr ""
1644 "В следующей таблице показано как влияет применение нового типа "
1645 "распространения (т. е., I<mount --make-xxxx>) на текущий тип распространения "
1646 "точки монтирования. Строки соответствуют существующим типам распространения, "
1647 "а столбцы — заданию нового типа распространения. Из-за нехватки места "
1648 "«индивидуальная» тип сокращён до «инд», а «непривязываемая» до «неприв»."
1649
1650 #. type: tbl table
1651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1653 #, no-wrap
1654 msgid "make-shared"
1655 msgstr "сделать-общим"
1656
1657 #. type: tbl table
1658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1660 #, no-wrap
1661 msgid "make-slave"
1662 msgstr "сделать-подчинён"
1663
1664 #. type: tbl table
1665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1667 #, no-wrap
1668 msgid "make-priv"
1669 msgstr "сделать-инд"
1670
1671 #. type: tbl table
1672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1674 #, no-wrap
1675 msgid "make-unbind"
1676 msgstr "сделать-неприв"
1677
1678 #. type: tbl table
1679 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1680 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1681 #, no-wrap
1682 msgid "_"
1683 msgstr "_"
1684
1685 #. type: tbl table
1686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1688 #, no-wrap
1689 msgid "shared"
1690 msgstr "общий"
1691
1692 #. type: tbl table
1693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1695 #, no-wrap
1696 msgid "slave/priv [1]"
1697 msgstr "общий/инд [1]"
1698
1699 #. type: tbl table
1700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1702 #, no-wrap
1703 msgid "priv"
1704 msgstr "инд"
1705
1706 #. type: tbl table
1707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1709 #, no-wrap
1710 msgid "unbind"
1711 msgstr "неприв"
1712
1713 #. type: tbl table
1714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1716 #, no-wrap
1717 msgid "slave"
1718 msgstr "подчинён"
1719
1720 #. type: tbl table
1721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1723 #, no-wrap
1724 msgid "slave+shared"
1725 msgstr "подчинён+общий"
1726
1727 #. type: tbl table
1728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1730 #, no-wrap
1731 msgid "slave [2]"
1732 msgstr "подчинён [2]"
1733
1734 #. type: tbl table
1735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1737 #, no-wrap
1738 msgid "private"
1739 msgstr "инд"
1740
1741 #. type: tbl table
1742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1744 #, no-wrap
1745 msgid "priv [2]"
1746 msgstr "инд [2]"
1747
1748 #. type: tbl table
1749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1751 #, no-wrap
1752 msgid "unbindable"
1753 msgstr "неприв"
1754
1755 #. type: tbl table
1756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1758 #, no-wrap
1759 msgid "unbind [2]"
1760 msgstr "неприв [2]"
1761
1762 #. type: Plain text
1763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1765 msgid "Note the following details to the table:"
1766 msgstr "Замечания к таблице:"
1767
1768 #. type: IP
1769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1771 #, no-wrap
1772 msgid "[1]"
1773 msgstr "[1]"
1774
1775 #. type: Plain text
1776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1778 msgid ""
1779 "If a shared mount is the only mount in its peer group, making it a slave "
1780 "automatically makes it private."
1781 msgstr ""
1782 "Если общая точка монтирования смонтирована только в её равноправной группе, "
1783 "то изменение её типа на подчинённый автоматически делает её индивидуальной."
1784
1785 #. type: IP
1786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1788 #, no-wrap
1789 msgid "[2]"
1790 msgstr "[2]"
1791
1792 #. type: Plain text
1793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1795 msgid "Slaving a nonshared mount has no effect on the mount."
1796 msgstr "Подчинение не общей точки монтирования не влияет на монтирование."
1797
1798 #. type: SS
1799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1801 #, no-wrap
1802 msgid "Bind (MS_BIND) semantics"
1803 msgstr "Семантика привязывания (MS_BIND)"
1804
1805 #. type: Plain text
1806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1808 msgid "Suppose that the following command is performed:"
1809 msgstr "Предположим, что выполняется следующая команда:"
1810
1811 #. type: Plain text
1812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1814 #, no-wrap
1815 msgid "mount --bind A/a B/b\n"
1816 msgstr "mount --bind A/a B/b\n"
1817
1818 #. type: Plain text
1819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1820 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1821 #, fuzzy
1822 #| msgid ""
1823 #| "Here, I<A> is the source mount point, I<B> is the destination mount "
1824 #| "point, I<a> is a subdirectory path under the mount point I<A>, and I<b> "
1825 #| "is a subdirectory path under the mount point I<B>. The propagation type "
1826 #| "of the resulting mount, I<B/b>, depends on the propagation types of the "
1827 #| "mount points I<A> and I<B>, and is summarized in the following table."
1828 msgid ""
1829 "Here, I<A> is the source mount, I<B> is the destination mount, I<a> is a "
1830 "subdirectory path under the mount point I<A>, and I<b> is a subdirectory "
1831 "path under the mount point I<B>. The propagation type of the resulting "
1832 "mount, I<B/b>, depends on the propagation types of the mounts I<A> and I<B>, "
1833 "and is summarized in the following table."
1834 msgstr ""
1835 "Здесь I<A> — исходная точка монтирования, I<B> — целевая точка монтирования, "
1836 "I<a> — подкаталог в точке монтирования I<A> и I<b> — подкаталог в точке "
1837 "монтирования I<B>. Тип распространения получаемой точки, I<B/b>, зависит от "
1838 "типов распространения точек монтирования I<A> и I<B>, и рассчитывается по "
1839 "следующей таблице:"
1840
1841 #. type: tbl table
1842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1844 #, no-wrap
1845 msgid "source(A)"
1846 msgstr "исход(A)"
1847
1848 #. type: tbl table
1849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1851 #, no-wrap
1852 msgid "dest(B)"
1853 msgstr "цель(B)"
1854
1855 #. type: tbl table
1856 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1857 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1858 #, no-wrap
1859 msgid "invalid"
1860 msgstr "некорректно"
1861
1862 #. type: tbl table
1863 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1864 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1865 #, no-wrap
1866 msgid "nonshared"
1867 msgstr "nonshared"
1868
1869 #. type: Plain text
1870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1872 msgid ""
1873 "Note that a recursive bind of a subtree follows the same semantics as for a "
1874 "bind operation on each mount in the subtree. (Unbindable mounts are "
1875 "automatically pruned at the target mount point.)"
1876 msgstr ""
1877 "Заметим, что рекурсивное привязывание поддерева имеет такую же семантику как "
1878 "в операции привязывания каждой точки монтирования в поддереве "
1879 "(непривязываемые точки монтирования автоматически убираются из целевой точки "
1880 "монтирования)."
1881
1882 #. type: Plain text
1883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1885 msgid ""
1886 "For further details, see I<Documentation/filesystems/sharedsubtree.rst> in "
1887 "the kernel source tree."
1888 msgstr ""
1889 "Дополнительную информацию смотрите в файле I<Documentation/filesystems/"
1890 "sharedsubtree.rst> дерева исходного кода ядра."
1891
1892 #. type: SS
1893 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1894 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1895 #, no-wrap
1896 msgid "Move (MS_MOVE) semantics"
1897 msgstr "Семантика перемещения (MS_MOVE)"
1898
1899 #. type: Plain text
1900 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1901 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1902 #, no-wrap
1903 msgid "mount --move A B/b\n"
1904 msgstr "mount --move A B/b\n"
1905
1906 #. type: Plain text
1907 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1908 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1909 #, fuzzy
1910 #| msgid ""
1911 #| "Here, I<A> is the source mount point, I<B> is the destination mount "
1912 #| "point, and I<b> is a subdirectory path under the mount point I<B>. The "
1913 #| "propagation type of the resulting mount, I<B/b>, depends on the "
1914 #| "propagation types of the mount points I<A> and I<B>, and is summarized in "
1915 #| "the following table."
1916 msgid ""
1917 "Here, I<A> is the source mount, I<B> is the destination mount, and I<b> is a "
1918 "subdirectory path under the mount point I<B>. The propagation type of the "
1919 "resulting mount, I<B/b>, depends on the propagation types of the mounts I<A> "
1920 "and I<B>, and is summarized in the following table."
1921 msgstr ""
1922 "Здесь I<A> — исходная точка монтирования, I<B> — целевая точка монтирования "
1923 "и I<b> — подкаталог в точке монтирования I<B>. Тип распространения "
1924 "получаемой точки, I<B/b>, зависит от типов распространения точек "
1925 "монтирования I<A> и I<B>, и рассчитывается по следующей таблице:"
1926
1927 #. type: Plain text
1928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1930 msgid "Note: moving a mount that resides under a shared mount is invalid."
1931 msgstr ""
1932 "Замечание: перемещение точки монтирования, располагающейся ниже общей точки, "
1933 "некорректно."
1934
1935 #. type: SS
1936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1938 #, no-wrap
1939 msgid "Mount semantics"
1940 msgstr "Семантики монтирования"
1941
1942 #. type: Plain text
1943 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1944 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1945 #, fuzzy
1946 #| msgid "Suppose that we use the following command to create a mount point:"
1947 msgid "Suppose that we use the following command to create a mount:"
1948 msgstr ""
1949 "Предположим, что для создания точки монтирования используется следующая "
1950 "команда:"
1951
1952 #. type: Plain text
1953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1955 #, no-wrap
1956 msgid "mount device B/b\n"
1957 msgstr "mount устройство B/b\n"
1958
1959 #. type: Plain text
1960 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1961 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1962 #, fuzzy
1963 #| msgid ""
1964 #| "Here, I<B> is the destination mount point, and I<b> is a subdirectory "
1965 #| "path under the mount point I<B>. The propagation type of the resulting "
1966 #| "mount, I<B/b>, follows the same rules as for a bind mount, where the "
1967 #| "propagation type of the source mount is considered always to be private."
1968 msgid ""
1969 "Here, I<B> is the destination mount, and I<b> is a subdirectory path under "
1970 "the mount point I<B>. The propagation type of the resulting mount, I<B/b>, "
1971 "follows the same rules as for a bind mount, where the propagation type of "
1972 "the source mount is considered always to be private."
1973 msgstr ""
1974 "Здесь I<B> — целевая точка монтирования и I<b> — подкаталог в точке "
1975 "монтирования I<B>. Тип распространения получаемой точки, I<B/b>, получается "
1976 "таким же как при привязывании, где тип распространения исходной точки "
1977 "монтирования всегда равен индивидуальному."
1978
1979 #. type: SS
1980 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1981 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1982 #, no-wrap
1983 msgid "Unmount semantics"
1984 msgstr "Семантики размонтирования"
1985
1986 #. type: Plain text
1987 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1988 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1989 #, fuzzy
1990 #| msgid ""
1991 #| "Suppose that we use the following command to tear down a mount point:"
1992 msgid "Suppose that we use the following command to tear down a mount:"
1993 msgstr ""
1994 "Предположим, что для размонтирования точки используется следующая команда:"
1995
1996 #. type: Plain text
1997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1999 #, fuzzy, no-wrap
2000 #| msgid "unmount A\n"
2001 msgid "umount A\n"
2002 msgstr "unmount A\n"
2003
2004 #. type: Plain text
2005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2007 #, fuzzy
2008 #| msgid ""
2009 #| "Here, I<A> is a mount point on I<B/b>, where I<B> is the parent mount and "
2010 #| "I<b> is a subdirectory path under the mount point I<B>. If B<B> is "
2011 #| "shared, then all most-recently-mounted mounts at I<b> on mounts that "
2012 #| "receive propagation from mount I<B> and do not have submounts under them "
2013 #| "are unmounted."
2014 msgid ""
2015 "Here, I<A> is a mount on I<B/b>, where I<B> is the parent mount and I<b> is "
2016 "a subdirectory path under the mount point I<B>. If B<B> is shared, then all "
2017 "most-recently-mounted mounts at I<b> on mounts that receive propagation from "
2018 "mount I<B> and do not have submounts under them are unmounted."
2019 msgstr ""
2020 "Здесь I<A> точка монтирования на I<B/b>, где I<B> — родительская точка "
2021 "монтирования и I<b> — подкаталог в точке монтирования I<B>. Если B<B> имеет "
2022 "общий тип распространения, то все последние монтирования в I<b>, получающие "
2023 "события от точки монтирования I<B> и не имеющие подмонтирований внутри, "
2024 "будут размонтированы."
2025
2026 #. type: SS
2027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2029 #, no-wrap
2030 msgid "The /proc/ pid /mountinfo propagate_from tag"
2031 msgstr "Метка /proc/ pid /mountinfo propagate_from"
2032
2033 #. type: Plain text
2034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2036 msgid ""
2037 "The I<propagate_from:X> tag is shown in the optional fields of a I</proc/"
2038 ">pidI</mountinfo> record in cases where a process can't see a slave's "
2039 "immediate master (i.e., the pathname of the master is not reachable from the "
2040 "filesystem root directory) and so cannot determine the chain of propagation "
2041 "between the mounts it can see."
2042 msgstr ""
2043 "Метка I<propagate_from:X> появляется в необязательных полях записи I</proc/"
2044 ">pidI</mountinfo> в случаях, когда процесс не может видеть непосредственного "
2045 "мастера (т. е., путь к мастеру недоступен из корневого каталога файловой "
2046 "системы) и поэтому не может определить цепочку распространения между точками "
2047 "монтирования, которые он может видеть."
2048
2049 #. type: Plain text
2050 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2051 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2052 msgid ""
2053 "In the following example, we first create a two-link master-slave chain "
2054 "between the mounts I</mnt>, I</tmp/etc>, and I</mnt/tmp/etc>. Then the "
2055 "B<chroot>(1) command is used to make the I</tmp/etc> mount point "
2056 "unreachable from the root directory, creating a situation where the master "
2057 "of I</mnt/tmp/etc> is not reachable from the (new) root directory of the "
2058 "process."
2059 msgstr ""
2060 "В следующем примере сначала создаётся двусвязная цепочка мастер-подчинённый "
2061 "между точками монтирования I</mnt>, I</tmp/etc> и I</mnt/tmp/etc>. Затем "
2062 "используется команда B<chroot>(1), чтобы сделать точку монтирования I</tmp/"
2063 "etc> недоступной из корневого каталога, что создаёт ситуацию, где мастер для "
2064 "I</mnt/tmp/etc> недоступен из (нового) корневого каталога процесса."
2065
2066 #. type: Plain text
2067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2069 msgid ""
2070 "First, we bind mount the root directory onto I</mnt> and then bind mount I</"
2071 "proc> at I</mnt/proc> so that after the later B<chroot>(1) the B<proc>(5) "
2072 "filesystem remains visible at the correct location in the chroot-ed "
2073 "environment."
2074 msgstr ""
2075 "Сначала привяжем корневой каталог в I</mnt>, а затем привяжем I</proc> в I</"
2076 "mnt/proc>, чтобы после этого в правильном месте chroot-окружения для "
2077 "B<chroot>(1) осталась доступной файловая система B<proc>(5)."
2078
2079 #. type: Plain text
2080 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2081 #: opensuse-tumbleweed
2082 #, fuzzy, no-wrap
2083 #| msgid ""
2084 #| "# B<mkdir -p /mnt/proc>\n"
2085 #| "# B<mount --bind / /mnt>\n"
2086 #| "# B<mount --bind /proc /mnt/proc>\n"
2087 msgid ""
2088 "#B< mkdir -p /mnt/proc>\n"
2089 "#B< mount --bind / /mnt>\n"
2090 "#B< mount --bind /proc /mnt/proc>\n"
2091 msgstr ""
2092 "# B<mkdir -p /mnt/proc>\n"
2093 "# B<mount --bind / /mnt>\n"
2094 "# B<mount --bind /proc /mnt/proc>\n"
2095
2096 #. type: Plain text
2097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2099 msgid ""
2100 "Next, we ensure that the I</mnt> mount is a shared mount in a new peer group "
2101 "(with no peers):"
2102 msgstr ""
2103 "Теперь убедимся, что точка монтирования I</mnt> является общей в новой "
2104 "равноправной группе (без членов):"
2105
2106 #. type: Plain text
2107 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2108 #: opensuse-tumbleweed
2109 #, fuzzy, no-wrap
2110 #| msgid ""
2111 #| "# B<mount --make-private /mnt> # Isolate from any previous peer group\n"
2112 #| "# B<mount --make-shared /mnt>\n"
2113 #| "# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
2114 #| "239 61 8:2 / /mnt ... shared:102\n"
2115 #| "248 239 0:4 / /mnt/proc ... shared:5\n"
2116 msgid ""
2117 "#B< mount --make-private /mnt> # Isolate from any previous peer group\n"
2118 "#B< mount --make-shared /mnt>\n"
2119 "#B< cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
2120 "239 61 8:2 / /mnt ...\\& shared:102\n"
2121 "248 239 0:4 / /mnt/proc ...\\& shared:5\n"
2122 msgstr ""
2123 "# B<mount --make-private /mnt> # Изолировать от любой предыдущей группы\n"
2124 "# B<mount --make-shared /mnt>\n"
2125 "# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
2126 "239 61 8:2 / /mnt ... shared:102\n"
2127 "248 239 0:4 / /mnt/proc ... shared:5\n"
2128
2129 #. type: Plain text
2130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2132 msgid "Next, we bind mount I</mnt/etc> onto I</tmp/etc>:"
2133 msgstr "Теперь привяжем I</mnt/etc> к I</tmp/etc>:"
2134
2135 #. type: Plain text
2136 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2137 #: opensuse-tumbleweed
2138 #, fuzzy, no-wrap
2139 #| msgid ""
2140 #| "# B<mkdir -p /tmp/etc>\n"
2141 #| "# B<mount --bind /mnt/etc /tmp/etc>\n"
2142 #| "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
2143 #| "239 61 8:2 / /mnt ... shared:102\n"
2144 #| "248 239 0:4 / /mnt/proc ... shared:5\n"
2145 #| "267 40 8:2 /etc /tmp/etc ... shared:102\n"
2146 msgid ""
2147 "#B< mkdir -p /tmp/etc>\n"
2148 "#B< mount --bind /mnt/etc /tmp/etc>\n"
2149 "#B< cat /proc/self/mountinfo | egrep \\[aq]/mnt|/tmp/\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
2150 "239 61 8:2 / /mnt ...\\& shared:102\n"
2151 "248 239 0:4 / /mnt/proc ...\\& shared:5\n"
2152 "267 40 8:2 /etc /tmp/etc ...\\& shared:102\n"
2153 msgstr ""
2154 "# B<mkdir -p /tmp/etc>\n"
2155 "# B<mount --bind /mnt/etc /tmp/etc>\n"
2156 "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
2157 "239 61 8:2 / /mnt ... shared:102\n"
2158 "248 239 0:4 / /mnt/proc ... shared:5\n"
2159 "267 40 8:2 /etc /tmp/etc ... shared:102\n"
2160
2161 #. type: Plain text
2162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2164 #, fuzzy
2165 #| msgid ""
2166 #| "Initially, these two mount points are in the same peer group, but we then "
2167 #| "make the I</tmp/etc> a slave of I</mnt/etc>, and then make I</tmp/etc> "
2168 #| "shared as well, so that it can propagate events to the next slave in the "
2169 #| "chain:"
2170 msgid ""
2171 "Initially, these two mounts are in the same peer group, but we then make the "
2172 "I</tmp/etc> a slave of I</mnt/etc>, and then make I</tmp/etc> shared as "
2173 "well, so that it can propagate events to the next slave in the chain:"
2174 msgstr ""
2175 "Первоначально, эти две точки монтирования были в одной равноправной группе, "
2176 "но мы сделали I</tmp/etc> подчинённой I</mnt/etc>, а затем сделали I</tmp/"
2177 "etc> общей, так чтобы она могла распространять события следующему "
2178 "подчинённому в цепочке:"
2179
2180 #. type: Plain text
2181 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2182 #: opensuse-tumbleweed
2183 #, fuzzy, no-wrap
2184 #| msgid ""
2185 #| "# B<mount --make-slave /tmp/etc>\n"
2186 #| "# B<mount --make-shared /tmp/etc>\n"
2187 #| "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
2188 #| "239 61 8:2 / /mnt ... shared:102\n"
2189 #| "248 239 0:4 / /mnt/proc ... shared:5\n"
2190 #| "267 40 8:2 /etc /tmp/etc ... shared:105 master:102\n"
2191 msgid ""
2192 "#B< mount --make-slave /tmp/etc>\n"
2193 "#B< mount --make-shared /tmp/etc>\n"
2194 "#B< cat /proc/self/mountinfo | egrep \\[aq]/mnt|/tmp/\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
2195 "239 61 8:2 / /mnt ...\\& shared:102\n"
2196 "248 239 0:4 / /mnt/proc ...\\& shared:5\n"
2197 "267 40 8:2 /etc /tmp/etc ...\\& shared:105 master:102\n"
2198 msgstr ""
2199 "# B<mount --make-slave /tmp/etc>\n"
2200 "# B<mount --make-shared /tmp/etc>\n"
2201 "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
2202 "239 61 8:2 / /mnt ... shared:102\n"
2203 "248 239 0:4 / /mnt/proc ... shared:5\n"
2204 "267 40 8:2 /etc /tmp/etc ... shared:105 master:102\n"
2205
2206 #. type: Plain text
2207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2209 #, fuzzy
2210 #| msgid ""
2211 #| "Then we bind mount I</tmp/etc> onto I</mnt/tmp/etc>. Again, the two "
2212 #| "mount points are initially in the same peer group, but we then make I</"
2213 #| "mnt/tmp/etc> a slave of I</tmp/etc>:"
2214 msgid ""
2215 "Then we bind mount I</tmp/etc> onto I</mnt/tmp/etc>. Again, the two mounts "
2216 "are initially in the same peer group, but we then make I</mnt/tmp/etc> a "
2217 "slave of I</tmp/etc>:"
2218 msgstr ""
2219 "Затем мы привязали I</tmp/etc> в I</mnt/tmp/etc>. Опять же, две точки "
2220 "монтирования первоначально были в одной равноправной группе, но позднее мы "
2221 "сделали I</mnt/tmp/etc> подчинённой I</tmp/etc>:"
2222
2223 #. type: Plain text
2224 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2225 #: opensuse-tumbleweed
2226 #, fuzzy, no-wrap
2227 #| msgid ""
2228 #| "# B<mkdir -p /mnt/tmp/etc>\n"
2229 #| "# B<mount --bind /tmp/etc /mnt/tmp/etc>\n"
2230 #| "# B<mount --make-slave /mnt/tmp/etc>\n"
2231 #| "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
2232 #| "239 61 8:2 / /mnt ... shared:102\n"
2233 #| "248 239 0:4 / /mnt/proc ... shared:5\n"
2234 #| "267 40 8:2 /etc /tmp/etc ... shared:105 master:102\n"
2235 #| "273 239 8:2 /etc /mnt/tmp/etc ... master:105\n"
2236 msgid ""
2237 "#B< mkdir -p /mnt/tmp/etc>\n"
2238 "#B< mount --bind /tmp/etc /mnt/tmp/etc>\n"
2239 "#B< mount --make-slave /mnt/tmp/etc>\n"
2240 "#B< cat /proc/self/mountinfo | egrep \\[aq]/mnt|/tmp/\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
2241 "239 61 8:2 / /mnt ...\\& shared:102\n"
2242 "248 239 0:4 / /mnt/proc ...\\& shared:5\n"
2243 "267 40 8:2 /etc /tmp/etc ...\\& shared:105 master:102\n"
2244 "273 239 8:2 /etc /mnt/tmp/etc ...\\& master:105\n"
2245 msgstr ""
2246 "# B<mkdir -p /mnt/tmp/etc>\n"
2247 "# B<mount --bind /tmp/etc /mnt/tmp/etc>\n"
2248 "# B<mount --make-slave /mnt/tmp/etc>\n"
2249 "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
2250 "239 61 8:2 / /mnt ... shared:102\n"
2251 "248 239 0:4 / /mnt/proc ... shared:5\n"
2252 "267 40 8:2 /etc /tmp/etc ... shared:105 master:102\n"
2253 "273 239 8:2 /etc /mnt/tmp/etc ... master:105\n"
2254
2255 #. type: Plain text
2256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2258 msgid ""
2259 "From the above, we see that I</mnt> is the master of the slave I</tmp/etc>, "
2260 "which in turn is the master of the slave I</mnt/tmp/etc>."
2261 msgstr ""
2262 "Из показанного выше можно видеть, что I</mnt> является главной для "
2263 "подчинённой I</tmp/etc>, которая, в свою очередь, является главной для "
2264 "подчинённой I</mnt/tmp/etc>."
2265
2266 #. type: Plain text
2267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2269 msgid ""
2270 "We then B<chroot>(1) to the I</mnt> directory, which renders the mount with "
2271 "ID 267 unreachable from the (new) root directory:"
2272 msgstr ""
2273 "Теперь выполним B<chroot>(1) в каталог I</mnt>, который делает точку "
2274 "монтирования с ID 267 недоступной из (нового корневого каталога:"
2275
2276 #. type: Plain text
2277 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2278 #: opensuse-tumbleweed
2279 #, fuzzy, no-wrap
2280 #| msgid "# B<chroot /mnt>\n"
2281 msgid "#B< chroot /mnt>\n"
2282 msgstr "# B<chroot /mnt>\n"
2283
2284 #. type: Plain text
2285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2287 msgid ""
2288 "When we examine the state of the mounts inside the chroot-ed environment, we "
2289 "see the following:"
2290 msgstr ""
2291 "Если мы проверим состояние точек монтирования внутри окружения chroot, то "
2292 "увидим следующее:"
2293
2294 #. type: Plain text
2295 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2296 #: opensuse-tumbleweed
2297 #, fuzzy, no-wrap
2298 #| msgid ""
2299 #| "# B<cat /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2300 #| "239 61 8:2 / / ... shared:102\n"
2301 #| "248 239 0:4 / /proc ... shared:5\n"
2302 #| "273 239 8:2 /etc /tmp/etc ... master:105 propagate_from:102\n"
2303 msgid ""
2304 "#B< cat /proc/self/mountinfo | sed \\[aq]s/ - .*//\\[aq]>\n"
2305 "239 61 8:2 / / ...\\& shared:102\n"
2306 "248 239 0:4 / /proc ...\\& shared:5\n"
2307 "273 239 8:2 /etc /tmp/etc ...\\& master:105 propagate_from:102\n"
2308 msgstr ""
2309 "# B<cat /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2310 "239 61 8:2 / / ... shared:102\n"
2311 "248 239 0:4 / /proc ... shared:5\n"
2312 "273 239 8:2 /etc /tmp/etc ... master:105 propagate_from:102\n"
2313
2314 #. type: Plain text
2315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2317 #, fuzzy
2318 #| msgid ""
2319 #| "Above, we see that the mount with ID 273 is a slave whose master is the "
2320 #| "peer group 105. The mount point for that master is unreachable, and so a "
2321 #| "I<propagate_from> tag is displayed, indicating that the closest dominant "
2322 #| "peer group (i.e., the nearest reachable mount in the slave chain) is the "
2323 #| "peer group with the ID 102 (corresponding to the I</mnt> mount point "
2324 #| "before the B<chroot>(1) was performed."
2325 msgid ""
2326 "Above, we see that the mount with ID 273 is a slave whose master is the peer "
2327 "group 105. The mount point for that master is unreachable, and so a "
2328 "I<propagate_from> tag is displayed, indicating that the closest dominant "
2329 "peer group (i.e., the nearest reachable mount in the slave chain) is the "
2330 "peer group with the ID 102 (corresponding to the I</mnt> mount point before "
2331 "the B<chroot>(1) was performed)."
2332 msgstr ""
2333 "Здесь мы видим, что точка монтирования с ID 273 является подчинённой для "
2334 "главной, которая входит в равноправную группу 105. Точка монтирования этой "
2335 "главной недоступна и поэтому появилась метка I<propagate_from>, "
2336 "показывающая, что идентификатор ближайшей ведущей равноправной группы (т. "
2337 "е., ближайшая достижимая точка монтирования в подчинённой цепи) равен 102 "
2338 "(соответствует точке монтирования I</mnt> до выполнения B<chroot>(1))."
2339
2340 #. type: SH
2341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2343 #, no-wrap
2344 msgid "STANDARDS"
2345 msgstr "СТАНДАРТЫ"
2346
2347 #. type: Plain text
2348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2350 msgid "Linux."
2351 msgstr "Linux."
2352
2353 #. type: SH
2354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2356 #, no-wrap
2357 msgid "HISTORY"
2358 msgstr "ИСТОРИЯ"
2359
2360 #. type: Plain text
2361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2363 #, fuzzy
2364 #| msgid "util-linux 2.38.1"
2365 msgid "Linux 2.4.19."
2366 msgstr "util-linux 2.38.1"
2367
2368 #. type: SH
2369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2371 #, no-wrap
2372 msgid "NOTES"
2373 msgstr "ПРИМЕЧАНИЯ"
2374
2375 #. type: Plain text
2376 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2377 #: opensuse-leap-16-1 opensuse-tumbleweed
2378 #, fuzzy
2379 #| msgid ""
2380 #| "The propagation type assigned to a new mount point depends on the "
2381 #| "propagation type of the parent mount. If the mount point has a parent "
2382 #| "(i.e., it is a non-root mount point) and the propagation type of the "
2383 #| "parent is B<MS_SHARED>, then the propagation type of the new mount is "
2384 #| "also B<MS_SHARED>. Otherwise, the propagation type of the new mount is "
2385 #| "B<MS_PRIVATE>."
2386 msgid ""
2387 "The propagation type assigned to a new mount depends on the propagation type "
2388 "of the parent mount. If the mount has a parent (i.e., it is a non-root "
2389 "mount) and the propagation type of the parent is B<MS_SHARED>, then the "
2390 "propagation type of the new mount is also B<MS_SHARED>. Otherwise, the "
2391 "propagation type of the new mount is B<MS_PRIVATE>."
2392 msgstr ""
2393 "Тип распространения, назначаемый новой точке монтирования, зависит от типа "
2394 "распространения родительской точки монтирования. Если точка монтирования "
2395 "имеет родителя (т. е., является не корневой точкой монтирования) и тип "
2396 "распространения родителя — B<MS_SHARED>, то тип распространения новой точки "
2397 "монтирования будет также B<MS_SHARED>. В противном случае типом новой точки "
2398 "монтирования будет B<MS_PRIVATE>."
2399
2400 #. type: Plain text
2401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2403 #, fuzzy
2404 #| msgid ""
2405 #| "Notwithstanding the fact that the default propagation type for new mount "
2406 #| "points is in many cases B<MS_PRIVATE>, B<MS_SHARED> is typically more "
2407 #| "useful. For this reason, B<systemd>(1) automatically remounts all mount "
2408 #| "points as B<MS_SHARED> on system startup. Thus, on most modern systems, "
2409 #| "the default propagation type is in practice B<MS_SHARED>."
2410 msgid ""
2411 "Notwithstanding the fact that the default propagation type for new mount is "
2412 "in many cases B<MS_PRIVATE>, B<MS_SHARED> is typically more useful. For "
2413 "this reason, B<systemd>(1) automatically remounts all mounts as "
2414 "B<MS_SHARED> on system startup. Thus, on most modern systems, the default "
2415 "propagation type is in practice B<MS_SHARED>."
2416 msgstr ""
2417 "Несмотря на то, что тип распространения по умолчанию для новой точки "
2418 "монтирования во многих случаях равен B<MS_PRIVATE>, обычно, тип B<MS_SHARED> "
2419 "полезнее. По этой причине, при запуске системы B<systemd>(1) автоматически "
2420 "перемонтирует все точки монтирования как B<MS_SHARED>. Таким образом, в "
2421 "современных системах типом распространения по умолчанию практически является "
2422 "B<MS_SHARED>."
2423
2424 #. type: Plain text
2425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2427 #, fuzzy
2428 #| msgid ""
2429 #| "Since, when one uses B<unshare>(1) to create a mount namespace, the goal "
2430 #| "is commonly to provide full isolation of the mount points in the new "
2431 #| "namespace, B<unshare>(1) (since I<util-linux> version 2.27) in turn "
2432 #| "reverses the step performed by B<systemd>(1), by making all mount points "
2433 #| "private in the new namespace. That is, B<unshare>(1) performs the "
2434 #| "equivalent of the following in the new mount namespace:"
2435 msgid ""
2436 "Since, when one uses B<unshare>(1) to create a mount namespace, the goal is "
2437 "commonly to provide full isolation of the mounts in the new namespace, "
2438 "B<unshare>(1) (since I<util-linux> 2.27) in turn reverses the step "
2439 "performed by B<systemd>(1), by making all mounts private in the new "
2440 "namespace. That is, B<unshare>(1) performs the equivalent of the following "
2441 "in the new mount namespace:"
2442 msgstr ""
2443 "При создании пространства имён монтирования с помощью B<unshare>(1) чаще "
2444 "всего требуется создать полную изоляцию точек монтирования в новом "
2445 "пространстве имён, и B<unshare>(1) (начиная с I<util-linux> версии 2.27) "
2446 "отменяет изменения B<systemd>(1), делая все точки монтирования "
2447 "индивидуальными в новом пространстве имён. То есть B<unshare>(1) в новом "
2448 "пространстве имён монтирования выполняет эквивалент следующего:"
2449
2450 #. type: Plain text
2451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2453 #, no-wrap
2454 msgid "mount --make-rprivate /\n"
2455 msgstr "mount --make-rprivate /\n"
2456
2457 #. type: Plain text
2458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2460 #, fuzzy
2461 #| msgid ""
2462 #| "To prevent this, one can use the I<--propagation\\~unchanged> option to "
2463 #| "B<unshare>(1)."
2464 msgid ""
2465 "To prevent this, one can use the I<--propagation\\ unchanged> option to "
2466 "B<unshare>(1)."
2467 msgstr ""
2468 "Чтобы этого не происходило в B<unshare>(1) можно использовать параметр I<--"
2469 "propagation\\~unchanged>."
2470
2471 #. type: Plain text
2472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2474 msgid ""
2475 "An application that creates a new mount namespace directly using "
2476 "B<clone>(2) or B<unshare>(2) may desire to prevent propagation of mount "
2477 "events to other mount namespaces (as is done by B<unshare>(1)). This can be "
2478 "done by changing the propagation type of mounts in the new namespace to "
2479 "either B<MS_SLAVE> or B<MS_PRIVATE>, using a call such as the following:"
2480 msgstr ""
2481
2482 #. type: Plain text
2483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2485 #, no-wrap
2486 msgid "mount(NULL, \"/\", MS_SLAVE | MS_REC, NULL);\n"
2487 msgstr "mount(NULL, \"/\", MS_SLAVE | MS_REC, NULL);\n"
2488
2489 #. ============================================================
2490 #. type: Plain text
2491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2493 msgid ""
2494 "For a discussion of propagation types when moving mounts (B<MS_MOVE>) and "
2495 "creating bind mounts (B<MS_BIND>), see I<Documentation/filesystems/"
2496 "sharedsubtree.rst>."
2497 msgstr ""
2498 "Описание типов распространения при перемещении точек монтирования "
2499 "(B<MS_MOVE>) и создании привязок монтирования (B<MS_BIND>) смотрите в "
2500 "I<Documentation/filesystems/sharedsubtree.rst>."
2501
2502 #. type: SS
2503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2505 #, no-wrap
2506 msgid "Restrictions on mount namespaces"
2507 msgstr "Ограничения у пространств имён монтирования"
2508
2509 #. type: Plain text
2510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2512 msgid "Note the following points with respect to mount namespaces:"
2513 msgstr "Отметим следующие моменты относительно пространств имён монтирования:"
2514
2515 #. type: Plain text
2516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2518 msgid ""
2519 "Each mount namespace has an owner user namespace. As explained above, when "
2520 "a new mount namespace is created, its mount list is initialized as a copy of "
2521 "the mount list of another mount namespace. If the new namespace and the "
2522 "namespace from which the mount list was copied are owned by different user "
2523 "namespaces, then the new mount namespace is considered I<less privileged>."
2524 msgstr ""
2525
2526 #. type: Plain text
2527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2529 #, fuzzy
2530 #| msgid ""
2531 #| "When creating a less privileged mount namespace, shared mounts are "
2532 #| "reduced to slave mounts. (Shared and slave mounts are discussed below.) "
2533 #| "This ensures that mappings performed in less privileged mount namespaces "
2534 #| "will not propagate to more privileged mount namespaces."
2535 msgid ""
2536 "When creating a less privileged mount namespace, shared mounts are reduced "
2537 "to slave mounts. This ensures that mappings performed in less privileged "
2538 "mount namespaces will not propagate to more privileged mount namespaces."
2539 msgstr ""
2540 "При создании менее привилегированного пространства имён монтирования "
2541 "количество общих точек монтирования сокращаются до списка подчинённых точек "
2542 "монтирования (про общие и подчинённые точки монтирования смотрите далее). "
2543 "Это гарантирует, что отображения, выполняемые в менее привилегированном "
2544 "пространстве имён монтирования, не распространятся в более привилегированные "
2545 "пространства имён монтирования."
2546
2547 #. type: IP
2548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2550 #, no-wrap
2551 msgid "[3]"
2552 msgstr "[3]"
2553
2554 #. type: Plain text
2555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2557 #, fuzzy
2558 #| msgid ""
2559 #| "Mounts that come as a single unit from more privileged mount are locked "
2560 #| "together and may not be separated in a less privileged mount namespace. "
2561 #| "(The B<unshare>(2) B<CLONE_NEWNS> operation brings across all of the "
2562 #| "mounts from the original mount namespace as a single unit, and recursive "
2563 #| "mounts that propagate between mount namespaces propagate as a single "
2564 #| "unit.)"
2565 msgid ""
2566 "Mounts that come as a single unit from a more privileged mount namespace are "
2567 "locked together and may not be separated in a less privileged mount "
2568 "namespace. (The B<unshare>(2) B<CLONE_NEWNS> operation brings across all "
2569 "of the mounts from the original mount namespace as a single unit, and "
2570 "recursive mounts that propagate between mount namespaces propagate as a "
2571 "single unit.)"
2572 msgstr ""
2573 "Точки монтирования, которые появились как единый блок из более "
2574 "привилегированного монтирования, объединяются и не могут быть разделены в "
2575 "менее привилегированном пространстве имён монтирования (операция "
2576 "B<unshare>(2) B<CLONE_NEWNS> переносит все точки монтирования из исходного "
2577 "пространства имён монтирования единым блоком и рекурсивные монтирования, "
2578 "которые передаются в нескольких пространствах имён монтирования, также "
2579 "единым блоком)."
2580
2581 #. type: Plain text
2582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2584 msgid ""
2585 "In this context, \"may not be separated\" means that the mounts are locked "
2586 "so that they may not be individually unmounted. Consider the following "
2587 "example:"
2588 msgstr ""
2589
2590 #. type: Plain text
2591 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2592 #: opensuse-tumbleweed
2593 #, no-wrap
2594 msgid ""
2595 "$B< sudo sh>\n"
2596 "#B< mount --bind /dev/null /etc/shadow>\n"
2597 "#B< cat /etc/shadow> # Produces no output\n"
2598 msgstr ""
2599
2600 #. type: Plain text
2601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2603 msgid ""
2604 "The above steps, performed in a more privileged mount namespace, have "
2605 "created a bind mount that obscures the contents of the shadow password file, "
2606 "I</etc/shadow>. For security reasons, it should not be possible to "
2607 "B<umount>(2) that mount in a less privileged mount namespace, since that "
2608 "would reveal the contents of I</etc/shadow>."
2609 msgstr ""
2610
2611 #. type: Plain text
2612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2614 msgid ""
2615 "Suppose we now create a new mount namespace owned by a new user namespace. "
2616 "The new mount namespace will inherit copies of all of the mounts from the "
2617 "previous mount namespace. However, those mounts will be locked because the "
2618 "new mount namespace is less privileged. Consequently, an attempt to "
2619 "B<umount>(2) the mount fails as show in the following step:"
2620 msgstr ""
2621
2622 #. type: Plain text
2623 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2624 #: opensuse-tumbleweed
2625 #, no-wrap
2626 msgid ""
2627 "#B< unshare --user --map-root-user --mount \\[rs]>\n"
2628 "B<strace -o /tmp/log \\[rs]>\n"
2629 "B<umount /etc/shadow>\n"
2630 "umount: /etc/shadow: not mounted.\n"
2631 "#B< grep \\[aq]\\[ha]umount\\[aq] /tmp/log>\n"
2632 "umount2(\"/etc/shadow\", 0) = -1 EINVAL (Invalid argument)\n"
2633 msgstr ""
2634
2635 #. type: Plain text
2636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2638 msgid ""
2639 "The error message from B<mount>(8) is a little confusing, but the "
2640 "B<strace>(1) output reveals that the underlying B<umount2>(2) system call "
2641 "failed with the error B<EINVAL>, which is the error that the kernel returns "
2642 "to indicate that the mount is locked."
2643 msgstr ""
2644
2645 #. type: Plain text
2646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2648 msgid ""
2649 "Note, however, that it is possible to stack (and unstack) a mount on top of "
2650 "one of the inherited locked mounts in a less privileged mount namespace:"
2651 msgstr ""
2652
2653 #. type: Plain text
2654 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2655 #: opensuse-tumbleweed
2656 #, no-wrap
2657 msgid ""
2658 "#B< echo \\[aq]aaaaa\\[aq] E<gt> /tmp/a> # File to mount onto /etc/shadow\n"
2659 "#B< unshare --user --map-root-user --mount \\[rs]>\n"
2660 "B<sh -c \\[aq]mount --bind /tmp/a /etc/shadow; cat /etc/shadow\\[aq]>\n"
2661 "aaaaa\n"
2662 "#B< umount /etc/shadow>\n"
2663 msgstr ""
2664
2665 #. type: Plain text
2666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2668 msgid ""
2669 "The final B<umount>(8) command above, which is performed in the initial "
2670 "mount namespace, makes the original I</etc/shadow> file once more visible in "
2671 "that namespace."
2672 msgstr ""
2673
2674 #. type: IP
2675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2677 #, no-wrap
2678 msgid "[4]"
2679 msgstr "[4]"
2680
2681 #. type: Plain text
2682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2684 msgid ""
2685 "Following on from point [3], note that it is possible to B<umount>(2) an "
2686 "entire subtree of mounts that propagated as a unit into a less privileged "
2687 "mount namespace, as illustrated in the following example."
2688 msgstr ""
2689
2690 #. type: Plain text
2691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2693 msgid ""
2694 "First, we create new user and mount namespaces using B<unshare>(1). In the "
2695 "new mount namespace, the propagation type of all mounts is set to private. "
2696 "We then create a shared bind mount at I</mnt>, and a small hierarchy of "
2697 "mounts underneath that mount."
2698 msgstr ""
2699
2700 #. type: Plain text
2701 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2702 #: opensuse-tumbleweed
2703 #, fuzzy, no-wrap
2704 #| msgid ""
2705 #| "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
2706 #| " B<--mount --propagation unchanged bash>\n"
2707 #| "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2708 #| "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2709 #| "1240 1239 0:56 / /mnt/x rw,relatime\n"
2710 #| "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2711 msgid ""
2712 "$B< PS1=\\[aq]ns1# \\[aq] sudo unshare --user --map-root-user \\[rs]>\n"
2713 "B<--mount --propagation private bash>\n"
2714 "ns1#B< echo $$> # We need the PID of this shell later\n"
2715 "778501\n"
2716 "ns1#B< mount --make-shared --bind /mnt /mnt>\n"
2717 "ns1#B< mkdir /mnt/x>\n"
2718 "ns1#B< mount --make-private -t tmpfs none /mnt/x>\n"
2719 "ns1#B< mkdir /mnt/x/y>\n"
2720 "ns1#B< mount --make-private -t tmpfs none /mnt/x/y>\n"
2721 "ns1#B< grep /mnt /proc/self/mountinfo | sed \\[aq]s/ - .*//\\[aq]>\n"
2722 "986 83 8:5 /mnt /mnt rw,relatime shared:344\n"
2723 "989 986 0:56 / /mnt/x rw,relatime\n"
2724 "990 989 0:57 / /mnt/x/y rw,relatime\n"
2725 msgstr ""
2726 "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
2727 " B<--mount --propagation unchanged bash>\n"
2728 "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2729 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2730 "1240 1239 0:56 / /mnt/x rw,relatime\n"
2731 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2732
2733 #. type: Plain text
2734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2736 msgid ""
2737 "Continuing in the same shell session, we then create a second shell in a new "
2738 "user namespace and a new (less privileged) mount namespace and check the "
2739 "state of the propagated mounts rooted at I</mnt>."
2740 msgstr ""
2741
2742 #. type: Plain text
2743 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2744 #: opensuse-tumbleweed
2745 #, fuzzy, no-wrap
2746 #| msgid ""
2747 #| "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
2748 #| " B<--mount --propagation unchanged bash>\n"
2749 #| "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2750 #| "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2751 #| "1240 1239 0:56 / /mnt/x rw,relatime\n"
2752 #| "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2753 msgid ""
2754 "ns1#B< PS1=\\[aq]ns2# \\[aq] unshare --user --map-root-user \\[rs]>\n"
2755 "B<--mount --propagation unchanged bash>\n"
2756 "ns2#B< grep /mnt /proc/self/mountinfo | sed \\[aq]s/ - .*//\\[aq]>\n"
2757 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2758 "1240 1239 0:56 / /mnt/x rw,relatime\n"
2759 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2760 msgstr ""
2761 "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
2762 " B<--mount --propagation unchanged bash>\n"
2763 "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2764 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2765 "1240 1239 0:56 / /mnt/x rw,relatime\n"
2766 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2767
2768 #. type: Plain text
2769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2771 msgid ""
2772 "Of note in the above output is that the propagation type of the mount I</"
2773 "mnt> has been reduced to slave, as explained in point [2]. This means that "
2774 "submount events will propagate from the master I</mnt> in \"ns1\", but "
2775 "propagation will not occur in the opposite direction."
2776 msgstr ""
2777
2778 #. type: Plain text
2779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2781 msgid ""
2782 "From a separate terminal window, we then use B<nsenter>(1) to enter the "
2783 "mount and user namespaces corresponding to \"ns1\". In that terminal "
2784 "window, we then recursively bind mount I</mnt/x> at the location I</mnt/ppp>."
2785 msgstr ""
2786
2787 #. type: Plain text
2788 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2789 #: opensuse-tumbleweed
2790 #, fuzzy, no-wrap
2791 #| msgid ""
2792 #| "$ B<PS1=\\(aqns3# \\(aq sudo nsenter -t 778501 --user --mount>\n"
2793 #| "ns3# B<mount --rbind --make-private /mnt/x /mnt/ppp>\n"
2794 #| "ns3# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2795 #| "986 83 8:5 /mnt /mnt rw,relatime shared:344\n"
2796 #| "989 986 0:56 / /mnt/x rw,relatime\n"
2797 #| "990 989 0:57 / /mnt/x/y rw,relatime\n"
2798 #| "1242 986 0:56 / /mnt/ppp rw,relatime\n"
2799 #| "1243 1242 0:57 / /mnt/ppp/y rw,relatime shared:518\n"
2800 msgid ""
2801 "$B< PS1=\\[aq]ns3# \\[aq] sudo nsenter -t 778501 --user --mount>\n"
2802 "ns3#B< mount --rbind --make-private /mnt/x /mnt/ppp>\n"
2803 "ns3#B< grep /mnt /proc/self/mountinfo | sed \\[aq]s/ - .*//\\[aq]>\n"
2804 "986 83 8:5 /mnt /mnt rw,relatime shared:344\n"
2805 "989 986 0:56 / /mnt/x rw,relatime\n"
2806 "990 989 0:57 / /mnt/x/y rw,relatime\n"
2807 "1242 986 0:56 / /mnt/ppp rw,relatime\n"
2808 "1243 1242 0:57 / /mnt/ppp/y rw,relatime shared:518\n"
2809 msgstr ""
2810 "$ B<PS1=\\(aqns3# \\(aq sudo nsenter -t 778501 --user --mount>\n"
2811 "ns3# B<mount --rbind --make-private /mnt/x /mnt/ppp>\n"
2812 "ns3# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2813 "986 83 8:5 /mnt /mnt rw,relatime shared:344\n"
2814 "989 986 0:56 / /mnt/x rw,relatime\n"
2815 "990 989 0:57 / /mnt/x/y rw,relatime\n"
2816 "1242 986 0:56 / /mnt/ppp rw,relatime\n"
2817 "1243 1242 0:57 / /mnt/ppp/y rw,relatime shared:518\n"
2818
2819 #. type: Plain text
2820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2822 msgid ""
2823 "Because the propagation type of the parent mount, I</mnt>, was shared, the "
2824 "recursive bind mount propagated a small subtree of mounts under the slave "
2825 "mount I</mnt> into \"ns2\", as can be verified by executing the following "
2826 "command in that shell session:"
2827 msgstr ""
2828
2829 #. type: Plain text
2830 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2831 #: opensuse-tumbleweed
2832 #, fuzzy, no-wrap
2833 #| msgid ""
2834 #| "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2835 #| "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2836 #| "1240 1239 0:56 / /mnt/x rw,relatime\n"
2837 #| "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2838 #| "1244 1239 0:56 / /mnt/ppp rw,relatime\n"
2839 #| "1245 1244 0:57 / /mnt/ppp/y rw,relatime master:518\n"
2840 msgid ""
2841 "ns2#B< grep /mnt /proc/self/mountinfo | sed \\[aq]s/ - .*//\\[aq]>\n"
2842 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2843 "1240 1239 0:56 / /mnt/x rw,relatime\n"
2844 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2845 "1244 1239 0:56 / /mnt/ppp rw,relatime\n"
2846 "1245 1244 0:57 / /mnt/ppp/y rw,relatime master:518\n"
2847 msgstr ""
2848 "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2849 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2850 "1240 1239 0:56 / /mnt/x rw,relatime\n"
2851 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2852 "1244 1239 0:56 / /mnt/ppp rw,relatime\n"
2853 "1245 1244 0:57 / /mnt/ppp/y rw,relatime master:518\n"
2854
2855 #. type: Plain text
2856 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2857 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2858 msgid ""
2859 "While it is not possible to B<umount>(2) a part of the propagated subtree "
2860 "(I</mnt/ppp/y>) in \"ns2\", it is possible to B<umount>(2) the entire "
2861 "subtree, as shown by the following commands:"
2862 msgstr ""
2863
2864 #. type: Plain text
2865 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2866 #: opensuse-tumbleweed
2867 #, fuzzy, no-wrap
2868 #| msgid ""
2869 #| "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
2870 #| " B<--mount --propagation unchanged bash>\n"
2871 #| "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2872 #| "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2873 #| "1240 1239 0:56 / /mnt/x rw,relatime\n"
2874 #| "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2875 msgid ""
2876 "ns2#B< umount /mnt/ppp/y>\n"
2877 "umount: /mnt/ppp/y: not mounted.\n"
2878 "ns2#B< umount -l /mnt/ppp | sed \\[aq]s/ - .*//\\[aq]> # Succeeds...\n"
2879 "ns2#B< grep /mnt /proc/self/mountinfo>\n"
2880 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2881 "1240 1239 0:56 / /mnt/x rw,relatime\n"
2882 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2883 msgstr ""
2884 "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
2885 " B<--mount --propagation unchanged bash>\n"
2886 "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
2887 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
2888 "1240 1239 0:56 / /mnt/x rw,relatime\n"
2889 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
2890
2891 #. type: IP
2892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2894 #, no-wrap
2895 msgid "[5]"
2896 msgstr "[5]"
2897
2898 #. commit 9566d6742852c527bf5af38af5cbb878dad75705
2899 #. Author: Eric W. Biederman <[email protected]>
2900 #. Date: Mon Jul 28 17:26:07 2014 -0700
2901 #. mnt: Correct permission checks in do_remount
2902 #. type: Plain text
2903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2905 msgid ""
2906 "The B<mount>(2) flags B<MS_RDONLY>, B<MS_NOSUID>, B<MS_NOEXEC>, and the "
2907 "\"atime\" flags (B<MS_NOATIME>, B<MS_NODIRATIME>, B<MS_RELATIME>) settings "
2908 "become locked when propagated from a more privileged to a less privileged "
2909 "mount namespace, and may not be changed in the less privileged mount "
2910 "namespace."
2911 msgstr ""
2912 "Значения флагов B<MS_RDONLY>, B<MS_NOSUID>, B<MS_NOEXEC> у B<mount>(2) и "
2913 "флагов «atime» (B<MS_NOATIME>, B<MS_NODIRATIME>, B<MS_RELATIME>) блокируются "
2914 "при передаче из более привилегированного в менее привилегированное "
2915 "пространство имён монтирования, и не могут быть изменены в менее "
2916 "привилегированном пространстве имён монтирования."
2917
2918 #. type: Plain text
2919 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2920 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2921 msgid ""
2922 "This point is illustrated in the following example where, in a more "
2923 "privileged mount namespace, we create a bind mount that is marked as read-"
2924 "only. For security reasons, it should not be possible to make the mount "
2925 "writable in a less privileged mount namespace, and indeed the kernel "
2926 "prevents this:"
2927 msgstr ""
2928
2929 #. type: Plain text
2930 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2931 #: opensuse-tumbleweed
2932 #, no-wrap
2933 msgid ""
2934 "$B< sudo mkdir /mnt/dir>\n"
2935 "$B< sudo mount --bind -o ro /some/path /mnt/dir>\n"
2936 "$B< sudo unshare --user --map-root-user --mount \\[rs]>\n"
2937 "B<mount -o remount,rw /mnt/dir>\n"
2938 "mount: /mnt/dir: permission denied.\n"
2939 msgstr ""
2940
2941 #. type: IP
2942 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2943 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2944 #, no-wrap
2945 msgid "[6]"
2946 msgstr "[6]"
2947
2948 #. (As of 3.18-rc1 (in Al Viro's 2014-08-30 vfs.git#for-next tree))
2949 #. type: Plain text
2950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2951 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2952 msgid ""
2953 "A file or directory that is a mount point in one namespace that is not a "
2954 "mount point in another namespace, may be renamed, unlinked, or removed "
2955 "(B<rmdir>(2)) in the mount namespace in which it is not a mount point "
2956 "(subject to the usual permission checks). Consequently, the mount point is "
2957 "removed in the mount namespace where it was a mount point."
2958 msgstr ""
2959 "Файл или каталог, являющийся точкой монтирования в одном пространстве имён, "
2960 "и не являющийся в другом, может быть переименован, отсоединён (unlinked) или "
2961 "удалён (B<rmdir>(2)) в пространстве имён монтирования, в котором он не "
2962 "является точкой монтирования (выполняются обычные проверки прав доступа).При "
2963 "этом точка монтирования удаляется в пространстве имён монтирования, в "
2964 "котором она была точкой монтирования."
2965
2966 #. mtk: The change was in Linux 3.18, I think, with this commit:
2967 #. commit 8ed936b5671bfb33d89bc60bdcc7cf0470ba52fe
2968 #. Author: Eric W. Biederman <[email protected]>
2969 #. Date: Tue Oct 1 18:33:48 2013 -0700
2970 #. vfs: Lazily remove mounts on unlinked files and directories.
2971 #. type: Plain text
2972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2974 msgid ""
2975 "Previously (before Linux 3.18), attempting to unlink, rename, or remove a "
2976 "file or directory that was a mount point in another mount namespace would "
2977 "result in the error B<EBUSY>. That behavior had technical problems of "
2978 "enforcement (e.g., for NFS) and permitted denial-of-service attacks against "
2979 "more privileged users (i.e., preventing individual files from being updated "
2980 "by bind mounting on top of them)."
2981 msgstr ""
2982 "Раньше (до Linux 3.18), попытка переименовать, отсоединить или удалить файл "
2983 "или каталог, который являлся точкой монтирования в другом пространстве имён "
2984 "монтирования, приводила к ошибке B<EBUSY>. Такое поведение вызывало "
2985 "технические проблемы в работе (например, NFS) и позволяло выполнять атаку "
2986 "отказа в обслуживании более привилегированных пользователей (т. е., не "
2987 "давало обновлять отдельные файлы посредством монтирования поверх их)."
2988
2989 #. type: SH
2990 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2991 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2992 #, no-wrap
2993 msgid "EXAMPLES"
2994 msgstr "ПРИМЕРЫ"
2995
2996 #. type: Plain text
2997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2999 msgid "See B<pivot_root>(2)."
3000 msgstr "Смотрите B<pivot_root>(2)."
3001
3002 #. type: SH
3003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3005 #, no-wrap
3006 msgid "SEE ALSO"
3007 msgstr "СМОТРИТЕ ТАКЖЕ"
3008
3009 #. type: Plain text
3010 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3011 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3012 msgid ""
3013 "B<unshare>(1), B<clone>(2), B<mount>(2), B<mount_setattr>(2), "
3014 "B<pivot_root>(2), B<setns>(2), B<umount>(2), B<unshare>(2), B<proc>(5), "
3015 "B<namespaces>(7), B<user_namespaces>(7), B<findmnt>(8), B<mount>(8), "
3016 "B<pam_namespace>(8), B<pivot_root>(8), B<umount>(8)"
3017 msgstr ""
3018 "B<unshare>(1), B<clone>(2), B<mount>(2), B<mount_setattr>(2), "
3019 "B<pivot_root>(2), B<setns>(2), B<umount>(2), B<unshare>(2), B<proc>(5), "
3020 "B<namespaces>(7), B<user_namespaces>(7), B<findmnt>(8), B<mount>(8), "
3021 "B<pam_namespace>(8), B<pivot_root>(8), B<umount>(8)"
3022
3023 #. type: Plain text
3024 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3025 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3026 msgid ""
3027 "I<Documentation/filesystems/sharedsubtree.rst> in the kernel source tree."
3028 msgstr ""
3029 "Файл I<Documentation/filesystems/sharedsubtree.rst> в дереве исходного кода "
3030 "ядра Linux."
3031
3032 #. type: TH
3033 #: debian-trixie
3034 #, no-wrap
3035 msgid "2024-06-15"
3036 msgstr "15 июня 2024 г."
3037
3038 #. type: TH
3039 #: debian-trixie
3040 #, no-wrap
3041 msgid "Linux man-pages 6.9.1"
3042 msgstr "Страницы руководства Linux 6.9.1"
3043
3044 #. type: Plain text
3045 #: debian-trixie fedora-44 fedora-rawhide
3046 #, fuzzy, no-wrap
3047 #| msgid ""
3048 #| "sh1# B<mount --make-shared /mntS>\n"
3049 #| "sh1# B<mount --make-private /mntP>\n"
3050 #| "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3051 #| "77 61 8:17 / /mntS rw,relatime shared:1\n"
3052 #| "83 61 8:15 / /mntP rw,relatime\n"
3053 msgid ""
3054 "sh1# B<mount --make-shared /mntS>\n"
3055 "sh1# B<mount --make-private /mntP>\n"
3056 "sh1# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3057 "77 61 8:17 / /mntS rw,relatime shared:1\n"
3058 "83 61 8:15 / /mntP rw,relatime\n"
3059 msgstr ""
3060 "sh1# B<mount --make-shared /mntS>\n"
3061 "sh1# B<mount --make-private /mntP>\n"
3062 "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3063 "77 61 8:17 / /mntS rw,relatime shared:1\n"
3064 "83 61 8:15 / /mntP rw,relatime\n"
3065
3066 #. type: Plain text
3067 #: debian-trixie fedora-44 fedora-rawhide
3068 #, fuzzy, no-wrap
3069 #| msgid ""
3070 #| "sh1# B<cat /proc/self/mountinfo | awk \\(aq$1 == 61\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3071 #| "61 0 8:2 / / rw,relatime\n"
3072 msgid ""
3073 "sh1# B<cat /proc/self/mountinfo | awk \\[aq]$1 == 61\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3074 "61 0 8:2 / / rw,relatime\n"
3075 msgstr ""
3076 "sh1# B<cat /proc/self/mountinfo | awk \\(aq$1 == 61\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3077 "61 0 8:2 / / rw,relatime\n"
3078
3079 #. type: Plain text
3080 #: debian-trixie fedora-44 fedora-rawhide
3081 #, fuzzy, no-wrap
3082 #| msgid ""
3083 #| "$ B<PS1=\\(aqsh2# \\(aq sudo unshare -m --propagation unchanged sh>\n"
3084 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3085 #| "222 145 8:17 / /mntS rw,relatime shared:1\n"
3086 #| "225 145 8:15 / /mntP rw,relatime\n"
3087 msgid ""
3088 "$ B<PS1=\\[aq]sh2# \\[aq] sudo unshare -m --propagation unchanged sh>\n"
3089 "sh2# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3090 "222 145 8:17 / /mntS rw,relatime shared:1\n"
3091 "225 145 8:15 / /mntP rw,relatime\n"
3092 msgstr ""
3093 "$ B<PS1=\\(aqsh2# \\(aq sudo unshare -m --propagation unchanged sh>\n"
3094 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3095 "222 145 8:17 / /mntS rw,relatime shared:1\n"
3096 "225 145 8:15 / /mntP rw,relatime\n"
3097
3098 #. type: Plain text
3099 #: debian-trixie fedora-44 fedora-rawhide
3100 #, fuzzy, no-wrap
3101 #| msgid ""
3102 #| "sh2# B<mkdir /mntS/a>\n"
3103 #| "sh2# B<mount /dev/sdb6 /mntS/a>\n"
3104 #| "sh2# B<mkdir /mntP/b>\n"
3105 #| "sh2# B<mount /dev/sdb7 /mntP/b>\n"
3106 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3107 #| "222 145 8:17 / /mntS rw,relatime shared:1\n"
3108 #| "225 145 8:15 / /mntP rw,relatime\n"
3109 #| "178 222 8:22 / /mntS/a rw,relatime shared:2\n"
3110 #| "230 225 8:23 / /mntP/b rw,relatime\n"
3111 msgid ""
3112 "sh2# B<mkdir /mntS/a>\n"
3113 "sh2# B<mount /dev/sdb6 /mntS/a>\n"
3114 "sh2# B<mkdir /mntP/b>\n"
3115 "sh2# B<mount /dev/sdb7 /mntP/b>\n"
3116 "sh2# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3117 "222 145 8:17 / /mntS rw,relatime shared:1\n"
3118 "225 145 8:15 / /mntP rw,relatime\n"
3119 "178 222 8:22 / /mntS/a rw,relatime shared:2\n"
3120 "230 225 8:23 / /mntP/b rw,relatime\n"
3121 msgstr ""
3122 "sh2# B<mkdir /mntS/a>\n"
3123 "sh2# B<mount /dev/sdb6 /mntS/a>\n"
3124 "sh2# B<mkdir /mntP/b>\n"
3125 "sh2# B<mount /dev/sdb7 /mntP/b>\n"
3126 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3127 "222 145 8:17 / /mntS rw,relatime shared:1\n"
3128 "225 145 8:15 / /mntP rw,relatime\n"
3129 "178 222 8:22 / /mntS/a rw,relatime shared:2\n"
3130 "230 225 8:23 / /mntP/b rw,relatime\n"
3131
3132 #. type: Plain text
3133 #: debian-trixie fedora-44 fedora-rawhide
3134 #, fuzzy, no-wrap
3135 #| msgid ""
3136 #| "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3137 #| "77 61 8:17 / /mntS rw,relatime shared:1\n"
3138 #| "83 61 8:15 / /mntP rw,relatime\n"
3139 #| "179 77 8:22 / /mntS/a rw,relatime shared:2\n"
3140 msgid ""
3141 "sh1# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3142 "77 61 8:17 / /mntS rw,relatime shared:1\n"
3143 "83 61 8:15 / /mntP rw,relatime\n"
3144 "179 77 8:22 / /mntS/a rw,relatime shared:2\n"
3145 msgstr ""
3146 "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3147 "77 61 8:17 / /mntS rw,relatime shared:1\n"
3148 "83 61 8:15 / /mntP rw,relatime\n"
3149 "179 77 8:22 / /mntS/a rw,relatime shared:2\n"
3150
3151 #. type: Plain text
3152 #: debian-trixie fedora-44 fedora-rawhide
3153 #, fuzzy, no-wrap
3154 #| msgid ""
3155 #| "sh1# B<mount --make-shared /mntX>\n"
3156 #| "sh1# B<mount --make-shared /mntY>\n"
3157 #| "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3158 #| "132 83 8:23 / /mntX rw,relatime shared:1\n"
3159 #| "133 83 8:22 / /mntY rw,relatime shared:2\n"
3160 msgid ""
3161 "sh1# B<mount --make-shared /mntX>\n"
3162 "sh1# B<mount --make-shared /mntY>\n"
3163 "sh1# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3164 "132 83 8:23 / /mntX rw,relatime shared:1\n"
3165 "133 83 8:22 / /mntY rw,relatime shared:2\n"
3166 msgstr ""
3167 "sh1# B<mount --make-shared /mntX>\n"
3168 "sh1# B<mount --make-shared /mntY>\n"
3169 "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3170 "132 83 8:23 / /mntX rw,relatime shared:1\n"
3171 "133 83 8:22 / /mntY rw,relatime shared:2\n"
3172
3173 #. type: Plain text
3174 #: debian-trixie fedora-44 fedora-rawhide
3175 #, fuzzy, no-wrap
3176 #| msgid ""
3177 #| "sh2# B<unshare -m --propagation unchanged sh>\n"
3178 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3179 #| "168 167 8:23 / /mntX rw,relatime shared:1\n"
3180 #| "169 167 8:22 / /mntY rw,relatime shared:2\n"
3181 msgid ""
3182 "sh2# B<unshare -m --propagation unchanged sh>\n"
3183 "sh2# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3184 "168 167 8:23 / /mntX rw,relatime shared:1\n"
3185 "169 167 8:22 / /mntY rw,relatime shared:2\n"
3186 msgstr ""
3187 "sh2# B<unshare -m --propagation unchanged sh>\n"
3188 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3189 "168 167 8:23 / /mntX rw,relatime shared:1\n"
3190 "169 167 8:22 / /mntY rw,relatime shared:2\n"
3191
3192 #. type: Plain text
3193 #: debian-trixie fedora-44 fedora-rawhide
3194 #, fuzzy, no-wrap
3195 #| msgid ""
3196 #| "sh2# B<mount --make-slave /mntY>\n"
3197 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3198 #| "168 167 8:23 / /mntX rw,relatime shared:1\n"
3199 #| "169 167 8:22 / /mntY rw,relatime master:2\n"
3200 msgid ""
3201 "sh2# B<mount --make-slave /mntY>\n"
3202 "sh2# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3203 "168 167 8:23 / /mntX rw,relatime shared:1\n"
3204 "169 167 8:22 / /mntY rw,relatime master:2\n"
3205 msgstr ""
3206 "sh2# B<mount --make-slave /mntY>\n"
3207 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3208 "168 167 8:23 / /mntX rw,relatime shared:1\n"
3209 "169 167 8:22 / /mntY rw,relatime master:2\n"
3210
3211 #. type: Plain text
3212 #: debian-trixie fedora-44 fedora-rawhide
3213 #, no-wrap
3214 msgid ""
3215 "sh2# B<mkdir /mntX/a>\n"
3216 "sh2# B<mount /dev/sda3 /mntX/a>\n"
3217 "sh2# B<mkdir /mntY/b>\n"
3218 "sh2# B<mount /dev/sda5 /mntY/b>\n"
3219 msgstr ""
3220 "sh2# B<mkdir /mntX/a>\n"
3221 "sh2# B<mount /dev/sda3 /mntX/a>\n"
3222 "sh2# B<mkdir /mntY/b>\n"
3223 "sh2# B<mount /dev/sda5 /mntY/b>\n"
3224
3225 #. type: Plain text
3226 #: debian-trixie fedora-44 fedora-rawhide
3227 #, fuzzy, no-wrap
3228 #| msgid ""
3229 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3230 #| "168 167 8:23 / /mntX rw,relatime shared:1\n"
3231 #| "169 167 8:22 / /mntY rw,relatime master:2\n"
3232 #| "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
3233 #| "175 169 8:5 / /mntY/b rw,relatime\n"
3234 msgid ""
3235 "sh2# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3236 "168 167 8:23 / /mntX rw,relatime shared:1\n"
3237 "169 167 8:22 / /mntY rw,relatime master:2\n"
3238 "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
3239 "175 169 8:5 / /mntY/b rw,relatime\n"
3240 msgstr ""
3241 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3242 "168 167 8:23 / /mntX rw,relatime shared:1\n"
3243 "169 167 8:22 / /mntY rw,relatime master:2\n"
3244 "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
3245 "175 169 8:5 / /mntY/b rw,relatime\n"
3246
3247 #. type: Plain text
3248 #: debian-trixie fedora-44 fedora-rawhide
3249 #, fuzzy, no-wrap
3250 #| msgid ""
3251 #| "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3252 #| "132 83 8:23 / /mntX rw,relatime shared:1\n"
3253 #| "133 83 8:22 / /mntY rw,relatime shared:2\n"
3254 #| "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
3255 msgid ""
3256 "sh1# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3257 "132 83 8:23 / /mntX rw,relatime shared:1\n"
3258 "133 83 8:22 / /mntY rw,relatime shared:2\n"
3259 "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
3260 msgstr ""
3261 "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3262 "132 83 8:23 / /mntX rw,relatime shared:1\n"
3263 "133 83 8:22 / /mntY rw,relatime shared:2\n"
3264 "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
3265
3266 #. type: Plain text
3267 #: debian-trixie fedora-44 fedora-rawhide
3268 #, fuzzy, no-wrap
3269 #| msgid ""
3270 #| "sh1# B<mkdir /mntY/c>\n"
3271 #| "sh1# B<mount /dev/sda1 /mntY/c>\n"
3272 #| "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3273 #| "132 83 8:23 / /mntX rw,relatime shared:1\n"
3274 #| "133 83 8:22 / /mntY rw,relatime shared:2\n"
3275 #| "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
3276 #| "178 133 8:1 / /mntY/c rw,relatime shared:4\n"
3277 msgid ""
3278 "sh1# B<mkdir /mntY/c>\n"
3279 "sh1# B<mount /dev/sda1 /mntY/c>\n"
3280 "sh1# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3281 "132 83 8:23 / /mntX rw,relatime shared:1\n"
3282 "133 83 8:22 / /mntY rw,relatime shared:2\n"
3283 "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
3284 "178 133 8:1 / /mntY/c rw,relatime shared:4\n"
3285 msgstr ""
3286 "sh1# B<mkdir /mntY/c>\n"
3287 "sh1# B<mount /dev/sda1 /mntY/c>\n"
3288 "sh1# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3289 "132 83 8:23 / /mntX rw,relatime shared:1\n"
3290 "133 83 8:22 / /mntY rw,relatime shared:2\n"
3291 "174 132 8:3 / /mntX/a rw,relatime shared:3\n"
3292 "178 133 8:1 / /mntY/c rw,relatime shared:4\n"
3293
3294 #. type: Plain text
3295 #: debian-trixie fedora-44 fedora-rawhide
3296 #, fuzzy, no-wrap
3297 #| msgid ""
3298 #| "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3299 #| "168 167 8:23 / /mntX rw,relatime shared:1\n"
3300 #| "169 167 8:22 / /mntY rw,relatime master:2\n"
3301 #| "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
3302 #| "175 169 8:5 / /mntY/b rw,relatime\n"
3303 #| "179 169 8:1 / /mntY/c rw,relatime master:4\n"
3304 msgid ""
3305 "sh2# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3306 "168 167 8:23 / /mntX rw,relatime shared:1\n"
3307 "169 167 8:22 / /mntY rw,relatime master:2\n"
3308 "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
3309 "175 169 8:5 / /mntY/b rw,relatime\n"
3310 "179 169 8:1 / /mntY/c rw,relatime master:4\n"
3311 msgstr ""
3312 "sh2# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3313 "168 167 8:23 / /mntX rw,relatime shared:1\n"
3314 "169 167 8:22 / /mntY rw,relatime master:2\n"
3315 "173 168 8:3 / /mntX/a rw,relatime shared:3\n"
3316 "175 169 8:5 / /mntY/b rw,relatime\n"
3317 "179 169 8:1 / /mntY/c rw,relatime master:4\n"
3318
3319 #. type: Plain text
3320 #: debian-trixie fedora-44 fedora-rawhide
3321 #, fuzzy, no-wrap
3322 #| msgid ""
3323 #| "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
3324 #| "/dev/sda1 on /\n"
3325 #| "/dev/sdb6 on /mntX\n"
3326 #| "/dev/sdb7 on /mntY\n"
3327 msgid ""
3328 "# B<mount | awk \\[aq]{print $1, $2, $3}\\[aq]>\n"
3329 "/dev/sda1 on /\n"
3330 "/dev/sdb6 on /mntX\n"
3331 "/dev/sdb7 on /mntY\n"
3332 msgstr ""
3333 "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
3334 "/dev/sda1 on /\n"
3335 "/dev/sdb6 on /mntX\n"
3336 "/dev/sdb7 on /mntY\n"
3337
3338 #. type: Plain text
3339 #: debian-trixie fedora-44 fedora-rawhide
3340 #, fuzzy, no-wrap
3341 #| msgid ""
3342 #| "# B<mount --rbind / /home/cecilia/>\n"
3343 #| "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
3344 #| "/dev/sda1 on /\n"
3345 #| "/dev/sdb6 on /mntX\n"
3346 #| "/dev/sdb7 on /mntY\n"
3347 #| "/dev/sda1 on /home/cecilia\n"
3348 #| "/dev/sdb6 on /home/cecilia/mntX\n"
3349 #| "/dev/sdb7 on /home/cecilia/mntY\n"
3350 msgid ""
3351 "# B<mount --rbind / /home/cecilia/>\n"
3352 "# B<mount | awk \\[aq]{print $1, $2, $3}\\[aq]>\n"
3353 "/dev/sda1 on /\n"
3354 "/dev/sdb6 on /mntX\n"
3355 "/dev/sdb7 on /mntY\n"
3356 "/dev/sda1 on /home/cecilia\n"
3357 "/dev/sdb6 on /home/cecilia/mntX\n"
3358 "/dev/sdb7 on /home/cecilia/mntY\n"
3359 msgstr ""
3360 "# B<mount --rbind / /home/cecilia/>\n"
3361 "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
3362 "/dev/sda1 on /\n"
3363 "/dev/sdb6 on /mntX\n"
3364 "/dev/sdb7 on /mntY\n"
3365 "/dev/sda1 on /home/cecilia\n"
3366 "/dev/sdb6 on /home/cecilia/mntX\n"
3367 "/dev/sdb7 on /home/cecilia/mntY\n"
3368
3369 #. type: Plain text
3370 #: debian-trixie fedora-44 fedora-rawhide
3371 #, fuzzy, no-wrap
3372 #| msgid ""
3373 #| "# B<mount --rbind / /home/henry>\n"
3374 #| "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
3375 #| "/dev/sda1 on /\n"
3376 #| "/dev/sdb6 on /mntX\n"
3377 #| "/dev/sdb7 on /mntY\n"
3378 #| "/dev/sda1 on /home/cecilia\n"
3379 #| "/dev/sdb6 on /home/cecilia/mntX\n"
3380 #| "/dev/sdb7 on /home/cecilia/mntY\n"
3381 #| "/dev/sda1 on /home/henry\n"
3382 #| "/dev/sdb6 on /home/henry/mntX\n"
3383 #| "/dev/sdb7 on /home/henry/mntY\n"
3384 #| "/dev/sda1 on /home/henry/home/cecilia\n"
3385 #| "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
3386 #| "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
3387 msgid ""
3388 "# B<mount --rbind / /home/henry>\n"
3389 "# B<mount | awk \\[aq]{print $1, $2, $3}\\[aq]>\n"
3390 "/dev/sda1 on /\n"
3391 "/dev/sdb6 on /mntX\n"
3392 "/dev/sdb7 on /mntY\n"
3393 "/dev/sda1 on /home/cecilia\n"
3394 "/dev/sdb6 on /home/cecilia/mntX\n"
3395 "/dev/sdb7 on /home/cecilia/mntY\n"
3396 "/dev/sda1 on /home/henry\n"
3397 "/dev/sdb6 on /home/henry/mntX\n"
3398 "/dev/sdb7 on /home/henry/mntY\n"
3399 "/dev/sda1 on /home/henry/home/cecilia\n"
3400 "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
3401 "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
3402 msgstr ""
3403 "# B<mount --rbind / /home/henry>\n"
3404 "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
3405 "/dev/sda1 on /\n"
3406 "/dev/sdb6 on /mntX\n"
3407 "/dev/sdb7 on /mntY\n"
3408 "/dev/sda1 on /home/cecilia\n"
3409 "/dev/sdb6 on /home/cecilia/mntX\n"
3410 "/dev/sdb7 on /home/cecilia/mntY\n"
3411 "/dev/sda1 on /home/henry\n"
3412 "/dev/sdb6 on /home/henry/mntX\n"
3413 "/dev/sdb7 on /home/henry/mntY\n"
3414 "/dev/sda1 on /home/henry/home/cecilia\n"
3415 "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
3416 "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
3417
3418 #. type: Plain text
3419 #: debian-trixie fedora-44 fedora-rawhide
3420 #, fuzzy, no-wrap
3421 #| msgid ""
3422 #| "# B<mount --rbind / /home/otto>\n"
3423 #| "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
3424 #| "/dev/sda1 on /\n"
3425 #| "/dev/sdb6 on /mntX\n"
3426 #| "/dev/sdb7 on /mntY\n"
3427 #| "/dev/sda1 on /home/cecilia\n"
3428 #| "/dev/sdb6 on /home/cecilia/mntX\n"
3429 #| "/dev/sdb7 on /home/cecilia/mntY\n"
3430 #| "/dev/sda1 on /home/henry\n"
3431 #| "/dev/sdb6 on /home/henry/mntX\n"
3432 #| "/dev/sdb7 on /home/henry/mntY\n"
3433 #| "/dev/sda1 on /home/henry/home/cecilia\n"
3434 #| "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
3435 #| "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
3436 #| "/dev/sda1 on /home/otto\n"
3437 #| "/dev/sdb6 on /home/otto/mntX\n"
3438 #| "/dev/sdb7 on /home/otto/mntY\n"
3439 #| "/dev/sda1 on /home/otto/home/cecilia\n"
3440 #| "/dev/sdb6 on /home/otto/home/cecilia/mntX\n"
3441 #| "/dev/sdb7 on /home/otto/home/cecilia/mntY\n"
3442 #| "/dev/sda1 on /home/otto/home/henry\n"
3443 #| "/dev/sdb6 on /home/otto/home/henry/mntX\n"
3444 #| "/dev/sdb7 on /home/otto/home/henry/mntY\n"
3445 #| "/dev/sda1 on /home/otto/home/henry/home/cecilia\n"
3446 #| "/dev/sdb6 on /home/otto/home/henry/home/cecilia/mntX\n"
3447 #| "/dev/sdb7 on /home/otto/home/henry/home/cecilia/mntY\n"
3448 msgid ""
3449 "# B<mount --rbind / /home/otto>\n"
3450 "# B<mount | awk \\[aq]{print $1, $2, $3}\\[aq]>\n"
3451 "/dev/sda1 on /\n"
3452 "/dev/sdb6 on /mntX\n"
3453 "/dev/sdb7 on /mntY\n"
3454 "/dev/sda1 on /home/cecilia\n"
3455 "/dev/sdb6 on /home/cecilia/mntX\n"
3456 "/dev/sdb7 on /home/cecilia/mntY\n"
3457 "/dev/sda1 on /home/henry\n"
3458 "/dev/sdb6 on /home/henry/mntX\n"
3459 "/dev/sdb7 on /home/henry/mntY\n"
3460 "/dev/sda1 on /home/henry/home/cecilia\n"
3461 "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
3462 "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
3463 "/dev/sda1 on /home/otto\n"
3464 "/dev/sdb6 on /home/otto/mntX\n"
3465 "/dev/sdb7 on /home/otto/mntY\n"
3466 "/dev/sda1 on /home/otto/home/cecilia\n"
3467 "/dev/sdb6 on /home/otto/home/cecilia/mntX\n"
3468 "/dev/sdb7 on /home/otto/home/cecilia/mntY\n"
3469 "/dev/sda1 on /home/otto/home/henry\n"
3470 "/dev/sdb6 on /home/otto/home/henry/mntX\n"
3471 "/dev/sdb7 on /home/otto/home/henry/mntY\n"
3472 "/dev/sda1 on /home/otto/home/henry/home/cecilia\n"
3473 "/dev/sdb6 on /home/otto/home/henry/home/cecilia/mntX\n"
3474 "/dev/sdb7 on /home/otto/home/henry/home/cecilia/mntY\n"
3475 msgstr ""
3476 "# B<mount --rbind / /home/otto>\n"
3477 "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
3478 "/dev/sda1 on /\n"
3479 "/dev/sdb6 on /mntX\n"
3480 "/dev/sdb7 on /mntY\n"
3481 "/dev/sda1 on /home/cecilia\n"
3482 "/dev/sdb6 on /home/cecilia/mntX\n"
3483 "/dev/sdb7 on /home/cecilia/mntY\n"
3484 "/dev/sda1 on /home/henry\n"
3485 "/dev/sdb6 on /home/henry/mntX\n"
3486 "/dev/sdb7 on /home/henry/mntY\n"
3487 "/dev/sda1 on /home/henry/home/cecilia\n"
3488 "/dev/sdb6 on /home/henry/home/cecilia/mntX\n"
3489 "/dev/sdb7 on /home/henry/home/cecilia/mntY\n"
3490 "/dev/sda1 on /home/otto\n"
3491 "/dev/sdb6 on /home/otto/mntX\n"
3492 "/dev/sdb7 on /home/otto/mntY\n"
3493 "/dev/sda1 on /home/otto/home/cecilia\n"
3494 "/dev/sdb6 on /home/otto/home/cecilia/mntX\n"
3495 "/dev/sdb7 on /home/otto/home/cecilia/mntY\n"
3496 "/dev/sda1 on /home/otto/home/henry\n"
3497 "/dev/sdb6 on /home/otto/home/henry/mntX\n"
3498 "/dev/sdb7 on /home/otto/home/henry/mntY\n"
3499 "/dev/sda1 on /home/otto/home/henry/home/cecilia\n"
3500 "/dev/sdb6 on /home/otto/home/henry/home/cecilia/mntX\n"
3501 "/dev/sdb7 on /home/otto/home/henry/home/cecilia/mntY\n"
3502
3503 #. type: Plain text
3504 #: debian-trixie fedora-44 fedora-rawhide
3505 #, no-wrap
3506 msgid "# B<mount --rbind --make-unbindable / /home/cecilia>\n"
3507 msgstr "# B<mount --rbind --make-unbindable / /home/cecilia>\n"
3508
3509 #. type: Plain text
3510 #: debian-trixie fedora-44 fedora-rawhide
3511 #, fuzzy, no-wrap
3512 #| msgid ""
3513 #| "# B<mkdir /mntZ>\n"
3514 #| "# B<mount --bind /home/cecilia /mntZ>\n"
3515 #| "mount: wrong fs type, bad option, bad superblock on /home/cecilia,\n"
3516 #| " missing codepage or helper program, or other error\n"
3517 msgid ""
3518 "# B<mkdir /mntZ>\n"
3519 "# B<mount --bind /home/cecilia /mntZ>\n"
3520 "mount: wrong fs type, bad option, bad superblock on /home/cecilia,\n"
3521 " missing codepage or helper program, or other error\n"
3522 "\\&\n"
3523 " In some cases useful info is found in syslog - try\n"
3524 " dmesg | tail or so.\n"
3525 msgstr ""
3526 "# B<mkdir /mntZ>\n"
3527 "# B<mount --bind /home/cecilia /mntZ>\n"
3528 "mount: wrong fs type, bad option, bad superblock on /home/cecilia,\n"
3529 " missing codepage or helper program, or other error\n"
3530
3531 #. type: Plain text
3532 #: debian-trixie fedora-44 fedora-rawhide
3533 #, no-wrap
3534 msgid ""
3535 "# B<mount --rbind --make-unbindable / /home/henry>\n"
3536 "# B<mount --rbind --make-unbindable / /home/otto>\n"
3537 msgstr ""
3538 "# B<mount --rbind --make-unbindable / /home/henry>\n"
3539 "# B<mount --rbind --make-unbindable / /home/otto>\n"
3540
3541 #. type: Plain text
3542 #: debian-trixie fedora-44 fedora-rawhide
3543 #, fuzzy, no-wrap
3544 #| msgid ""
3545 #| "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
3546 #| "/dev/sda1 on /\n"
3547 #| "/dev/sdb6 on /mntX\n"
3548 #| "/dev/sdb7 on /mntY\n"
3549 #| "/dev/sda1 on /home/cecilia\n"
3550 #| "/dev/sdb6 on /home/cecilia/mntX\n"
3551 #| "/dev/sdb7 on /home/cecilia/mntY\n"
3552 #| "/dev/sda1 on /home/henry\n"
3553 #| "/dev/sdb6 on /home/henry/mntX\n"
3554 #| "/dev/sdb7 on /home/henry/mntY\n"
3555 #| "/dev/sda1 on /home/otto\n"
3556 #| "/dev/sdb6 on /home/otto/mntX\n"
3557 #| "/dev/sdb7 on /home/otto/mntY\n"
3558 msgid ""
3559 "# B<mount | awk \\[aq]{print $1, $2, $3}\\[aq]>\n"
3560 "/dev/sda1 on /\n"
3561 "/dev/sdb6 on /mntX\n"
3562 "/dev/sdb7 on /mntY\n"
3563 "/dev/sda1 on /home/cecilia\n"
3564 "/dev/sdb6 on /home/cecilia/mntX\n"
3565 "/dev/sdb7 on /home/cecilia/mntY\n"
3566 "/dev/sda1 on /home/henry\n"
3567 "/dev/sdb6 on /home/henry/mntX\n"
3568 "/dev/sdb7 on /home/henry/mntY\n"
3569 "/dev/sda1 on /home/otto\n"
3570 "/dev/sdb6 on /home/otto/mntX\n"
3571 "/dev/sdb7 on /home/otto/mntY\n"
3572 msgstr ""
3573 "# B<mount | awk \\(aq{print $1, $2, $3}\\(aq>\n"
3574 "/dev/sda1 on /\n"
3575 "/dev/sdb6 on /mntX\n"
3576 "/dev/sdb7 on /mntY\n"
3577 "/dev/sda1 on /home/cecilia\n"
3578 "/dev/sdb6 on /home/cecilia/mntX\n"
3579 "/dev/sdb7 on /home/cecilia/mntY\n"
3580 "/dev/sda1 on /home/henry\n"
3581 "/dev/sdb6 on /home/henry/mntX\n"
3582 "/dev/sdb7 on /home/henry/mntY\n"
3583 "/dev/sda1 on /home/otto\n"
3584 "/dev/sdb6 on /home/otto/mntX\n"
3585 "/dev/sdb7 on /home/otto/mntY\n"
3586
3587 #. type: Plain text
3588 #: debian-trixie fedora-44 fedora-rawhide
3589 #, no-wrap
3590 msgid ""
3591 "# B<mkdir -p /mnt/proc>\n"
3592 "# B<mount --bind / /mnt>\n"
3593 "# B<mount --bind /proc /mnt/proc>\n"
3594 msgstr ""
3595 "# B<mkdir -p /mnt/proc>\n"
3596 "# B<mount --bind / /mnt>\n"
3597 "# B<mount --bind /proc /mnt/proc>\n"
3598
3599 #. type: Plain text
3600 #: debian-trixie fedora-44 fedora-rawhide
3601 #, fuzzy, no-wrap
3602 #| msgid ""
3603 #| "# B<mount --make-private /mnt> # Isolate from any previous peer group\n"
3604 #| "# B<mount --make-shared /mnt>\n"
3605 #| "# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3606 #| "239 61 8:2 / /mnt ... shared:102\n"
3607 #| "248 239 0:4 / /mnt/proc ... shared:5\n"
3608 msgid ""
3609 "# B<mount --make-private /mnt> # Isolate from any previous peer group\n"
3610 "# B<mount --make-shared /mnt>\n"
3611 "# B<cat /proc/self/mountinfo | grep \\[aq]/mnt\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3612 "239 61 8:2 / /mnt ... shared:102\n"
3613 "248 239 0:4 / /mnt/proc ... shared:5\n"
3614 msgstr ""
3615 "# B<mount --make-private /mnt> # Изолировать от любой предыдущей группы\n"
3616 "# B<mount --make-shared /mnt>\n"
3617 "# B<cat /proc/self/mountinfo | grep \\(aq/mnt\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3618 "239 61 8:2 / /mnt ... shared:102\n"
3619 "248 239 0:4 / /mnt/proc ... shared:5\n"
3620
3621 #. type: Plain text
3622 #: debian-trixie fedora-44 fedora-rawhide
3623 #, fuzzy, no-wrap
3624 #| msgid ""
3625 #| "# B<mkdir -p /tmp/etc>\n"
3626 #| "# B<mount --bind /mnt/etc /tmp/etc>\n"
3627 #| "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3628 #| "239 61 8:2 / /mnt ... shared:102\n"
3629 #| "248 239 0:4 / /mnt/proc ... shared:5\n"
3630 #| "267 40 8:2 /etc /tmp/etc ... shared:102\n"
3631 msgid ""
3632 "# B<mkdir -p /tmp/etc>\n"
3633 "# B<mount --bind /mnt/etc /tmp/etc>\n"
3634 "# B<cat /proc/self/mountinfo | egrep \\[aq]/mnt|/tmp/\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3635 "239 61 8:2 / /mnt ... shared:102\n"
3636 "248 239 0:4 / /mnt/proc ... shared:5\n"
3637 "267 40 8:2 /etc /tmp/etc ... shared:102\n"
3638 msgstr ""
3639 "# B<mkdir -p /tmp/etc>\n"
3640 "# B<mount --bind /mnt/etc /tmp/etc>\n"
3641 "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3642 "239 61 8:2 / /mnt ... shared:102\n"
3643 "248 239 0:4 / /mnt/proc ... shared:5\n"
3644 "267 40 8:2 /etc /tmp/etc ... shared:102\n"
3645
3646 #. type: Plain text
3647 #: debian-trixie fedora-44 fedora-rawhide
3648 #, fuzzy, no-wrap
3649 #| msgid ""
3650 #| "# B<mount --make-slave /tmp/etc>\n"
3651 #| "# B<mount --make-shared /tmp/etc>\n"
3652 #| "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3653 #| "239 61 8:2 / /mnt ... shared:102\n"
3654 #| "248 239 0:4 / /mnt/proc ... shared:5\n"
3655 #| "267 40 8:2 /etc /tmp/etc ... shared:105 master:102\n"
3656 msgid ""
3657 "# B<mount --make-slave /tmp/etc>\n"
3658 "# B<mount --make-shared /tmp/etc>\n"
3659 "# B<cat /proc/self/mountinfo | egrep \\[aq]/mnt|/tmp/\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3660 "239 61 8:2 / /mnt ... shared:102\n"
3661 "248 239 0:4 / /mnt/proc ... shared:5\n"
3662 "267 40 8:2 /etc /tmp/etc ... shared:105 master:102\n"
3663 msgstr ""
3664 "# B<mount --make-slave /tmp/etc>\n"
3665 "# B<mount --make-shared /tmp/etc>\n"
3666 "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3667 "239 61 8:2 / /mnt ... shared:102\n"
3668 "248 239 0:4 / /mnt/proc ... shared:5\n"
3669 "267 40 8:2 /etc /tmp/etc ... shared:105 master:102\n"
3670
3671 #. type: Plain text
3672 #: debian-trixie fedora-44 fedora-rawhide
3673 #, fuzzy, no-wrap
3674 #| msgid ""
3675 #| "# B<mkdir -p /mnt/tmp/etc>\n"
3676 #| "# B<mount --bind /tmp/etc /mnt/tmp/etc>\n"
3677 #| "# B<mount --make-slave /mnt/tmp/etc>\n"
3678 #| "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3679 #| "239 61 8:2 / /mnt ... shared:102\n"
3680 #| "248 239 0:4 / /mnt/proc ... shared:5\n"
3681 #| "267 40 8:2 /etc /tmp/etc ... shared:105 master:102\n"
3682 #| "273 239 8:2 /etc /mnt/tmp/etc ... master:105\n"
3683 msgid ""
3684 "# B<mkdir -p /mnt/tmp/etc>\n"
3685 "# B<mount --bind /tmp/etc /mnt/tmp/etc>\n"
3686 "# B<mount --make-slave /mnt/tmp/etc>\n"
3687 "# B<cat /proc/self/mountinfo | egrep \\[aq]/mnt|/tmp/\\[aq] | sed \\[aq]s/ - .*//\\[aq]>\n"
3688 "239 61 8:2 / /mnt ... shared:102\n"
3689 "248 239 0:4 / /mnt/proc ... shared:5\n"
3690 "267 40 8:2 /etc /tmp/etc ... shared:105 master:102\n"
3691 "273 239 8:2 /etc /mnt/tmp/etc ... master:105\n"
3692 msgstr ""
3693 "# B<mkdir -p /mnt/tmp/etc>\n"
3694 "# B<mount --bind /tmp/etc /mnt/tmp/etc>\n"
3695 "# B<mount --make-slave /mnt/tmp/etc>\n"
3696 "# B<cat /proc/self/mountinfo | egrep \\(aq/mnt|/tmp/\\(aq | sed \\(aqs/ - .*//\\(aq>\n"
3697 "239 61 8:2 / /mnt ... shared:102\n"
3698 "248 239 0:4 / /mnt/proc ... shared:5\n"
3699 "267 40 8:2 /etc /tmp/etc ... shared:105 master:102\n"
3700 "273 239 8:2 /etc /mnt/tmp/etc ... master:105\n"
3701
3702 #. type: Plain text
3703 #: debian-trixie fedora-44 fedora-rawhide
3704 #, no-wrap
3705 msgid "# B<chroot /mnt>\n"
3706 msgstr "# B<chroot /mnt>\n"
3707
3708 #. type: Plain text
3709 #: debian-trixie fedora-44 fedora-rawhide
3710 #, fuzzy, no-wrap
3711 #| msgid ""
3712 #| "# B<cat /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3713 #| "239 61 8:2 / / ... shared:102\n"
3714 #| "248 239 0:4 / /proc ... shared:5\n"
3715 #| "273 239 8:2 /etc /tmp/etc ... master:105 propagate_from:102\n"
3716 msgid ""
3717 "# B<cat /proc/self/mountinfo | sed \\[aq]s/ - .*//\\[aq]>\n"
3718 "239 61 8:2 / / ... shared:102\n"
3719 "248 239 0:4 / /proc ... shared:5\n"
3720 "273 239 8:2 /etc /tmp/etc ... master:105 propagate_from:102\n"
3721 msgstr ""
3722 "# B<cat /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3723 "239 61 8:2 / / ... shared:102\n"
3724 "248 239 0:4 / /proc ... shared:5\n"
3725 "273 239 8:2 /etc /tmp/etc ... master:105 propagate_from:102\n"
3726
3727 #. type: Plain text
3728 #: debian-trixie
3729 #, fuzzy
3730 #| msgid ""
3731 #| "The propagation type assigned to a new mount point depends on the "
3732 #| "propagation type of the parent mount. If the mount point has a parent "
3733 #| "(i.e., it is a non-root mount point) and the propagation type of the "
3734 #| "parent is B<MS_SHARED>, then the propagation type of the new mount is "
3735 #| "also B<MS_SHARED>. Otherwise, the propagation type of the new mount is "
3736 #| "B<MS_PRIVATE>."
3737 msgid ""
3738 "The propagation type assigned to a new mount depends on the propagation type "
3739 "of the parent mount. If the mount has a parent (i.e., it is a non-root "
3740 "mount point) and the propagation type of the parent is B<MS_SHARED>, then "
3741 "the propagation type of the new mount is also B<MS_SHARED>. Otherwise, the "
3742 "propagation type of the new mount is B<MS_PRIVATE>."
3743 msgstr ""
3744 "Тип распространения, назначаемый новой точке монтирования, зависит от типа "
3745 "распространения родительской точки монтирования. Если точка монтирования "
3746 "имеет родителя (т. е., является не корневой точкой монтирования) и тип "
3747 "распространения родителя — B<MS_SHARED>, то тип распространения новой точки "
3748 "монтирования будет также B<MS_SHARED>. В противном случае типом новой точки "
3749 "монтирования будет B<MS_PRIVATE>."
3750
3751 #. type: Plain text
3752 #: debian-trixie fedora-44 fedora-rawhide
3753 #, no-wrap
3754 msgid ""
3755 "$ B<sudo sh>\n"
3756 "# B<mount --bind /dev/null /etc/shadow>\n"
3757 "# B<cat /etc/shadow> # Produces no output\n"
3758 msgstr ""
3759
3760 #. type: Plain text
3761 #: debian-trixie
3762 #, no-wrap
3763 msgid ""
3764 "# B<unshare --user --map-root-user --mount \\[rs]>\n"
3765 " B<strace -o /tmp/log \\[rs]>\n"
3766 " B<umount /mnt/dir>\n"
3767 "umount: /etc/shadow: not mounted.\n"
3768 "# B<grep \\[aq]\\[ha]umount\\[aq] /tmp/log>\n"
3769 "umount2(\"/etc/shadow\", 0) = -1 EINVAL (Invalid argument)\n"
3770 msgstr ""
3771
3772 #. type: Plain text
3773 #: debian-trixie fedora-44 fedora-rawhide
3774 #, no-wrap
3775 msgid ""
3776 "# B<echo \\[aq]aaaaa\\[aq] E<gt> /tmp/a> # File to mount onto /etc/shadow\n"
3777 "# B<unshare --user --map-root-user --mount \\[rs]>\n"
3778 " B<sh -c \\[aq]mount --bind /tmp/a /etc/shadow; cat /etc/shadow\\[aq]>\n"
3779 "aaaaa\n"
3780 "# B<umount /etc/shadow>\n"
3781 msgstr ""
3782
3783 #. type: Plain text
3784 #: debian-trixie fedora-44 fedora-rawhide
3785 #, fuzzy, no-wrap
3786 #| msgid ""
3787 #| "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
3788 #| " B<--mount --propagation unchanged bash>\n"
3789 #| "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3790 #| "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3791 #| "1240 1239 0:56 / /mnt/x rw,relatime\n"
3792 #| "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3793 msgid ""
3794 "$ B<PS1=\\[aq]ns1# \\[aq] sudo unshare --user --map-root-user \\[rs]>\n"
3795 " B<--mount --propagation private bash>\n"
3796 "ns1# B<echo $$> # We need the PID of this shell later\n"
3797 "778501\n"
3798 "ns1# B<mount --make-shared --bind /mnt /mnt>\n"
3799 "ns1# B<mkdir /mnt/x>\n"
3800 "ns1# B<mount --make-private -t tmpfs none /mnt/x>\n"
3801 "ns1# B<mkdir /mnt/x/y>\n"
3802 "ns1# B<mount --make-private -t tmpfs none /mnt/x/y>\n"
3803 "ns1# B<grep /mnt /proc/self/mountinfo | sed \\[aq]s/ - .*//\\[aq]>\n"
3804 "986 83 8:5 /mnt /mnt rw,relatime shared:344\n"
3805 "989 986 0:56 / /mnt/x rw,relatime\n"
3806 "990 989 0:57 / /mnt/x/y rw,relatime\n"
3807 msgstr ""
3808 "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
3809 " B<--mount --propagation unchanged bash>\n"
3810 "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3811 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3812 "1240 1239 0:56 / /mnt/x rw,relatime\n"
3813 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3814
3815 #. type: Plain text
3816 #: debian-trixie fedora-44 fedora-rawhide
3817 #, fuzzy, no-wrap
3818 #| msgid ""
3819 #| "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
3820 #| " B<--mount --propagation unchanged bash>\n"
3821 #| "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3822 #| "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3823 #| "1240 1239 0:56 / /mnt/x rw,relatime\n"
3824 #| "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3825 msgid ""
3826 "ns1# B<PS1=\\[aq]ns2# \\[aq] unshare --user --map-root-user \\[rs]>\n"
3827 " B<--mount --propagation unchanged bash>\n"
3828 "ns2# B<grep /mnt /proc/self/mountinfo | sed \\[aq]s/ - .*//\\[aq]>\n"
3829 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3830 "1240 1239 0:56 / /mnt/x rw,relatime\n"
3831 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3832 msgstr ""
3833 "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
3834 " B<--mount --propagation unchanged bash>\n"
3835 "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3836 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3837 "1240 1239 0:56 / /mnt/x rw,relatime\n"
3838 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3839
3840 #. type: Plain text
3841 #: debian-trixie fedora-44 fedora-rawhide
3842 #, fuzzy, no-wrap
3843 #| msgid ""
3844 #| "$ B<PS1=\\(aqns3# \\(aq sudo nsenter -t 778501 --user --mount>\n"
3845 #| "ns3# B<mount --rbind --make-private /mnt/x /mnt/ppp>\n"
3846 #| "ns3# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3847 #| "986 83 8:5 /mnt /mnt rw,relatime shared:344\n"
3848 #| "989 986 0:56 / /mnt/x rw,relatime\n"
3849 #| "990 989 0:57 / /mnt/x/y rw,relatime\n"
3850 #| "1242 986 0:56 / /mnt/ppp rw,relatime\n"
3851 #| "1243 1242 0:57 / /mnt/ppp/y rw,relatime shared:518\n"
3852 msgid ""
3853 "$ B<PS1=\\[aq]ns3# \\[aq] sudo nsenter -t 778501 --user --mount>\n"
3854 "ns3# B<mount --rbind --make-private /mnt/x /mnt/ppp>\n"
3855 "ns3# B<grep /mnt /proc/self/mountinfo | sed \\[aq]s/ - .*//\\[aq]>\n"
3856 "986 83 8:5 /mnt /mnt rw,relatime shared:344\n"
3857 "989 986 0:56 / /mnt/x rw,relatime\n"
3858 "990 989 0:57 / /mnt/x/y rw,relatime\n"
3859 "1242 986 0:56 / /mnt/ppp rw,relatime\n"
3860 "1243 1242 0:57 / /mnt/ppp/y rw,relatime shared:518\n"
3861 msgstr ""
3862 "$ B<PS1=\\(aqns3# \\(aq sudo nsenter -t 778501 --user --mount>\n"
3863 "ns3# B<mount --rbind --make-private /mnt/x /mnt/ppp>\n"
3864 "ns3# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3865 "986 83 8:5 /mnt /mnt rw,relatime shared:344\n"
3866 "989 986 0:56 / /mnt/x rw,relatime\n"
3867 "990 989 0:57 / /mnt/x/y rw,relatime\n"
3868 "1242 986 0:56 / /mnt/ppp rw,relatime\n"
3869 "1243 1242 0:57 / /mnt/ppp/y rw,relatime shared:518\n"
3870
3871 #. type: Plain text
3872 #: debian-trixie fedora-44 fedora-rawhide
3873 #, fuzzy, no-wrap
3874 #| msgid ""
3875 #| "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3876 #| "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3877 #| "1240 1239 0:56 / /mnt/x rw,relatime\n"
3878 #| "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3879 #| "1244 1239 0:56 / /mnt/ppp rw,relatime\n"
3880 #| "1245 1244 0:57 / /mnt/ppp/y rw,relatime master:518\n"
3881 msgid ""
3882 "ns2# B<grep /mnt /proc/self/mountinfo | sed \\[aq]s/ - .*//\\[aq]>\n"
3883 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3884 "1240 1239 0:56 / /mnt/x rw,relatime\n"
3885 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3886 "1244 1239 0:56 / /mnt/ppp rw,relatime\n"
3887 "1245 1244 0:57 / /mnt/ppp/y rw,relatime master:518\n"
3888 msgstr ""
3889 "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3890 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3891 "1240 1239 0:56 / /mnt/x rw,relatime\n"
3892 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3893 "1244 1239 0:56 / /mnt/ppp rw,relatime\n"
3894 "1245 1244 0:57 / /mnt/ppp/y rw,relatime master:518\n"
3895
3896 #. type: Plain text
3897 #: debian-trixie fedora-44 fedora-rawhide
3898 #, fuzzy, no-wrap
3899 #| msgid ""
3900 #| "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
3901 #| " B<--mount --propagation unchanged bash>\n"
3902 #| "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3903 #| "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3904 #| "1240 1239 0:56 / /mnt/x rw,relatime\n"
3905 #| "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3906 msgid ""
3907 "ns2# B<umount /mnt/ppp/y>\n"
3908 "umount: /mnt/ppp/y: not mounted.\n"
3909 "ns2# B<umount -l /mnt/ppp | sed \\[aq]s/ - .*//\\[aq]> # Succeeds...\n"
3910 "ns2# B<grep /mnt /proc/self/mountinfo>\n"
3911 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3912 "1240 1239 0:56 / /mnt/x rw,relatime\n"
3913 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3914 msgstr ""
3915 "ns1# B<PS1=\\(aqns2# \\(aq unshare --user --map-root-user \\e>\n"
3916 " B<--mount --propagation unchanged bash>\n"
3917 "ns2# B<grep /mnt /proc/self/mountinfo | sed \\(aqs/ - .*//\\(aq>\n"
3918 "1239 1204 8:5 /mnt /mnt rw,relatime master:344\n"
3919 "1240 1239 0:56 / /mnt/x rw,relatime\n"
3920 "1241 1240 0:57 / /mnt/x/y rw,relatime\n"
3921
3922 #. type: Plain text
3923 #: debian-trixie fedora-44 fedora-rawhide
3924 #, no-wrap
3925 msgid ""
3926 "$ B<sudo mkdir /mnt/dir>\n"
3927 "$ B<sudo mount --bind -o ro /some/path /mnt/dir>\n"
3928 "$ B<sudo unshare --user --map-root-user --mount \\[rs]>\n"
3929 " B<mount -o remount,rw /mnt/dir>\n"
3930 "mount: /mnt/dir: permission denied.\n"
3931 msgstr ""
3932
3933 #. type: TH
3934 #: fedora-44 fedora-rawhide
3935 #, no-wrap
3936 msgid "2025-02-16"
3937 msgstr "16 февраля 2025 г."
3938
3939 #. type: TH
3940 #: fedora-44 fedora-rawhide
3941 #, no-wrap
3942 msgid "Linux man-pages 6.13"
3943 msgstr "Страницы руководства Linux 6.13"
3944
3945 #. type: Plain text
3946 #: fedora-44 fedora-rawhide
3947 #, no-wrap
3948 msgid ""
3949 "# B<unshare --user --map-root-user --mount \\[rs]>\n"
3950 " B<strace -o /tmp/log \\[rs]>\n"
3951 " B<umount /etc/shadow>\n"
3952 "umount: /etc/shadow: not mounted.\n"
3953 "# B<grep \\[aq]\\[ha]umount\\[aq] /tmp/log>\n"
3954 "umount2(\"/etc/shadow\", 0) = -1 EINVAL (Invalid argument)\n"
3955 msgstr ""
3956
3957 #. type: TH
3958 #: mageia-cauldron
3959 #, no-wrap
3960 msgid "Linux man-pages 6.17"
3961 msgstr "Страницы руководства Linux 6.17"
3962
3963 #. type: TH
3964 #: opensuse-leap-16-1 opensuse-tumbleweed
3965 #, no-wrap
3966 msgid "Linux man-pages (unreleased)"
3967 msgstr "Страницы руководства Linux (не выпущены)"