Debian Codegraph @

po/ko/man2/pivot_root.2.po

raw
1 # Korean translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # ASPLINUX <[email protected]>, 2000.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:35+0200\n"
9 "PO-Revision-Date: 2000-07-26 08:57+0900\n"
10 "Last-Translator: ASPLINUX <[email protected]>\n"
11 "Language-Team: Korean <[email protected]>\n"
12 "Language: ko\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=1; plural=0;\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "pivot_root"
23 msgstr "pivot_root"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "2026년 2월 8일"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "이름"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 #, fuzzy
49 #| msgid "pivot_root - change the root file system"
50 msgid "pivot_root - change the root mount"
51 msgstr "pivot_root - 루트파일시스템 바꾸기."
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "라이브러리"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "표준 C 라이브러리 (I<libc>,\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "요약"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid ""
78 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
79 "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr ""
81 "B<#include E<lt>sys/syscall.hE<gt>> /* B<SYS_*> 상수의 정의 */\n"
82 "B<#include E<lt>unistd.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "B<int syscall(SYS_pivot_root, const char *>I<new_root>B<, const char *>I<put_old>B<);>\n"
89 msgstr "B<int syscall(SYS_pivot_root, const char *>I<new_root>B<, const char *>I<put_old>B<);>\n"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 msgid ""
95 "I<Note>: glibc provides no wrapper for B<pivot_root>(), necessitating the "
96 "use of B<syscall>(2)."
97 msgstr ""
98
99 #. type: SH
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid "DESCRIPTION"
104 msgstr "설명"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "B<pivot_root>() changes the root mount in the mount namespace of the "
111 "calling process. More precisely, it moves the root mount to the directory "
112 "I<put_old> and makes I<new_root> the new root mount. The calling process "
113 "must have the B<CAP_SYS_ADMIN> capability in the user namespace that owns "
114 "the caller's mount namespace."
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
119 #: opensuse-tumbleweed
120 msgid ""
121 "B<pivot_root>() changes the root directory and the current working "
122 "directory of each process or thread in the same mount namespace to "
123 "I<new_root> if they point to the old root directory. (See also NOTES.) On "
124 "the other hand, B<pivot_root>() does not change the caller's current "
125 "working directory (unless it is on the old root directory), and thus it "
126 "should be followed by a I<chdir(\"/\")> call."
127 msgstr ""
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 #, fuzzy
133 #| msgid "The following restrictions apply to I<new_root> and I<put_old>:"
134 msgid "The following restrictions apply:"
135 msgstr "다음의 제한은 I<new_root>와 I<put_old>를 적용한다:"
136
137 #. type: IP
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 #, no-wrap
141 msgid "\\[bu]"
142 msgstr "\\[bu]"
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, fuzzy
148 #| msgid "I<new_root> or I<put_old> is not a directory."
149 msgid "I<new_root> and I<put_old> must be directories."
150 msgstr "I<new_root> 나 I<put_old>가 디렉토리가 아니다."
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, fuzzy
156 #| msgid ""
157 #| "I<new_root> and I<put_old> must not be on the same file system as the "
158 #| "current root."
159 msgid ""
160 "I<new_root> and I<put_old> must not be on the same mount as the current root."
161 msgstr ""
162 "I<new_root> 와 I<put_old>는 현재 루트와 같은 파일 시스템이 아니어야한다."
163
164 #. type: Plain text
165 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
166 #: opensuse-tumbleweed
167 #, fuzzy
168 msgid ""
169 "I<put_old> must be at or underneath I<new_root>; that is, adding some "
170 "nonnegative number of \\[dq]I</..\\&>\\[dq] suffixes to the pathname pointed "
171 "to by I<put_old> must yield the same directory as I<new_root>."
172 msgstr "I<put_old>는 I<new_root> 아래이어야만 한다."
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "I<new_root> must be a path to a mount point, but can't be I<\\[dq]/\\[dq]>. "
179 "A path that is not already a mount point can be converted into one by bind "
180 "mounting the path onto itself."
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "The propagation type of the parent mount of I<new_root> and the parent mount "
188 "of the current root directory must not be B<MS_SHARED>; similarly, if "
189 "I<put_old> is an existing mount point, its propagation type must not be "
190 "B<MS_SHARED>. These restrictions ensure that B<pivot_root>() never "
191 "propagates any changes to another mount namespace."
192 msgstr ""
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid "The current root directory must be a mount point."
198 msgstr ""
199
200 #. type: SH
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "RETURN VALUE"
205 msgstr "반환값"
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 #, fuzzy
211 #| msgid ""
212 #| "On success, zero is returned. On error, -1 is returned, and I<errno> is "
213 #| "set appropriately."
214 msgid ""
215 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
216 "to indicate the error."
217 msgstr ""
218 "성공시, 0이 리턴된다. 에러시, -1이 리턴되며, I<errno>는 적당한 값으로 설정된"
219 "다."
220
221 #. type: SH
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "ERRORS"
226 msgstr "에러"
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, fuzzy
232 #| msgid ""
233 #| "B<pivot_root> may return (in I<errno>) any of the errors returned by "
234 #| "B<stat(2)>. Additionally, it may return:"
235 msgid ""
236 "B<pivot_root>() may fail with any of the same errors as B<stat>(2). "
237 "Additionally, it may fail with the following errors:"
238 msgstr ""
239 "B<pivot_root>는 B<stat(2)>에 의해 반환된 에러의 대부분을 반환할런지 모른다. "
240 "추가적으로, 아 래의 사항이 반환될런지도 모른다:"
241
242 #. type: TP
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "B<EBUSY>"
247 msgstr "B<EBUSY>"
248
249 #. #-#-#-#-# archlinux: pivot_root.2.pot (PACKAGE VERSION) #-#-#-#-#
250 #. Reconfirmed that the following error occurs on Linux 5.0 by
251 #. specifying 'new_root' as "/rootfs" and 'put_old' as
252 #. "/rootfs/oldrootfs", and *not* bind mounting "/rootfs" on top of
253 #. itself. Of course, this is an odd situation, since a later check
254 #. in the kernel code will in any case yield EINVAL if 'new_root' is
255 #. not a mount point. However, when the system call was first added,
256 #. 'new_root' was not required to be a mount point. So, this
257 #. error is nowadays probably just the result of crufty accumulation.
258 #. This error can also occur if we bind mount "/" on top of itself
259 #. and try to specify "/" as the 'new' (again, an odd situation). So,
260 #. the EBUSY check in the kernel does still seem necessary to prevent
261 #. that case. Furthermore, the "or put_old" piece is probably
262 #. redundant text (although the check is in the kernel), since,
263 #. in another check, 'put_old' is required to be under 'new_root'.
264 #. type: Plain text
265 #. #-#-#-#-# debian-trixie: pivot_root.2.pot (PACKAGE VERSION) #-#-#-#-#
266 #. Reconfirmed that the following error occurs on Linux 5.0 by
267 #. specifying 'new_root' as "/rootfs" and 'put_old' as
268 #. "/rootfs/oldrootfs", and *not* bind mounting "/rootfs" on top of
269 #. itself. Of course, this is an odd situation, since a later check
270 #. in the kernel code will in any case yield EINVAL if 'new_root' is
271 #. not a mount point. However, when the system call was first added,
272 #. 'new_root' was not required to be a mount point. So, this
273 #. error is nowadays probably just the result of crufty accumulation.
274 #. This error can also occur if we bind mount "/" on top of itself
275 #. and try to specify "/" as the 'new' (again, an odd situation). So,
276 #. the EBUSY check in the kernel does still seem necessary to prevent
277 #. that case. Furthermore, the "or put_old" piece is probably
278 #. redundant text (although the check is in the kernel), since,
279 #. in another check, 'put_old' is required to be under 'new_root'.
280 #. type: Plain text
281 #. #-#-#-#-# debian-unstable: pivot_root.2.pot (PACKAGE VERSION) #-#-#-#-#
282 #. Reconfirmed that the following error occurs on Linux 5.0 by
283 #. specifying 'new_root' as "/rootfs" and 'put_old' as
284 #. "/rootfs/oldrootfs", and *not* bind mounting "/rootfs" on top of
285 #. itself. Of course, this is an odd situation, since a later check
286 #. in the kernel code will in any case yield EINVAL if 'new_root' is
287 #. not a mount point. However, when the system call was first added,
288 #. 'new_root' was not required to be a mount point. So, this
289 #. error is nowadays probably just the result of crufty accumulation.
290 #. This error can also occur if we bind mount "/" on top of itself
291 #. and try to specify "/" as the 'new' (again, an odd situation). So,
292 #. the EBUSY check in the kernel does still seem necessary to prevent
293 #. that case. Furthermore, the "or put_old" piece is probably
294 #. redundant text (although the check is in the kernel), since,
295 #. in another check, 'put_old' is required to be under 'new_root'.
296 #. type: Plain text
297 #. #-#-#-#-# fedora-44: pivot_root.2.pot (PACKAGE VERSION) #-#-#-#-#
298 #. Reconfirmed that the following error occurs on Linux 5.0 by
299 #. specifying 'new_root' as "/rootfs" and 'put_old' as
300 #. "/rootfs/oldrootfs", and *not* bind mounting "/rootfs" on top of
301 #. itself. Of course, this is an odd situation, since a later check
302 #. in the kernel code will in any case yield EINVAL if 'new_root' is
303 #. not a mount point. However, when the system call was first added,
304 #. 'new_root' was not required to be a mount point. So, this
305 #. error is nowadays probably just the result of crufty accumulation.
306 #. This error can also occur if we bind mount "/" on top of itself
307 #. and try to specify "/" as the 'new' (again, an odd situation). So,
308 #. the EBUSY check in the kernel does still seem necessary to prevent
309 #. that case. Furthermore, the "or put_old" piece is probably
310 #. redundant text (although the check is in the kernel), since,
311 #. in another check, 'put_old' is required to be under 'new_root'.
312 #. type: Plain text
313 #. #-#-#-#-# fedora-rawhide: pivot_root.2.pot (PACKAGE VERSION) #-#-#-#-#
314 #. Reconfirmed that the following error occurs on Linux 5.0 by
315 #. specifying 'new_root' as "/rootfs" and 'put_old' as
316 #. "/rootfs/oldrootfs", and *not* bind mounting "/rootfs" on top of
317 #. itself. Of course, this is an odd situation, since a later check
318 #. in the kernel code will in any case yield EINVAL if 'new_root' is
319 #. not a mount point. However, when the system call was first added,
320 #. 'new_root' was not required to be a mount point. So, this
321 #. error is nowadays probably just the result of crufty accumulation.
322 #. This error can also occur if we bind mount "/" on top of itself
323 #. and try to specify "/" as the 'new' (again, an odd situation). So,
324 #. the EBUSY check in the kernel does still seem necessary to prevent
325 #. that case. Furthermore, the "or put_old" piece is probably
326 #. redundant text (although the check is in the kernel), since,
327 #. in another check, 'put_old' is required to be under 'new_root'.
328 #. type: Plain text
329 #. #-#-#-#-# mageia-cauldron: pivot_root.2.pot (PACKAGE VERSION) #-#-#-#-#
330 #. Reconfirmed that the following error occurs on Linux 5.0 by
331 #. specifying 'new_root' as "/rootfs" and 'put_old' as
332 #. "/rootfs/oldrootfs", and *not* bind mounting "/rootfs" on top of
333 #. itself. Of course, this is an odd situation, since a later check
334 #. in the kernel code will in any case yield EINVAL if 'new_root' is
335 #. not a mount point. However, when the system call was first added,
336 #. 'new_root' was not required to be a mount point. So, this
337 #. error is nowadays probably just the result of crufty accumulation.
338 #. This error can also occur if we bind mount "/" on top of itself
339 #. and try to specify "/" as the 'new' (again, an odd situation). So,
340 #. the EBUSY check in the kernel does still seem necessary to prevent
341 #. that case. Furthermore, the "or put_old" piece is probably
342 #. redundant text (although the check is in the kernel), since,
343 #. in another check, 'put_old' is required to be under 'new_root'.
344 #. type: Plain text
345 #. #-#-#-#-# opensuse-leap-16-1: pivot_root.2.pot (PACKAGE VERSION) #-#-#-#-#
346 #. Reconfirmed that the following error occurs on Linux 5.0 by
347 #. specifying 'new_root' as "/rootfs" and 'put_old' as
348 #. "/rootfs/oldrootfs", and *not* bind mounting "/rootfs" on top of
349 #. itself. Of course, this is an odd situation, since a later check
350 #. in the kernel code will in any case yield EINVAL if 'new_root' is
351 #. not a mount point. However, when the system call was first added,
352 #. 'new_root' was not required to be a mount point. So, this
353 #. error is nowadays probably just the result of crufty accumulation.
354 #. This error can also occur if we bind mount "/" on top of itself
355 #. and try to specify "/" as the 'new' (again, an odd situation). So,
356 #. the EBUSY check in the kernel does still seem necessary to prevent
357 #. that case. Furthermore, the "or put_old" piece is probably
358 #. redundant text (although the check is in the kernel), since,
359 #. in another check, 'put_old' is required to be under 'new_root'.
360 #. type: Plain text
361 #. #-#-#-#-# opensuse-tumbleweed: pivot_root.2.pot (PACKAGE VERSION) #-#-#-#-#
362 #. Reconfirmed that the following error occurs on Linux 5.0 by
363 #. specifying 'new_root' as "/rootfs" and 'put_old' as
364 #. "/rootfs/oldrootfs", and *not* bind mounting "/rootfs" on top of
365 #. itself. Of course, this is an odd situation, since a later check
366 #. in the kernel code will in any case yield EINVAL if 'new_root' is
367 #. not a mount point. However, when the system call was first added,
368 #. 'new_root' was not required to be a mount point. So, this
369 #. error is nowadays probably just the result of crufty accumulation.
370 #. This error can also occur if we bind mount "/" on top of itself
371 #. and try to specify "/" as the 'new' (again, an odd situation). So,
372 #. the EBUSY check in the kernel does still seem necessary to prevent
373 #. that case. Furthermore, the "or put_old" piece is probably
374 #. redundant text (although the check is in the kernel), since,
375 #. in another check, 'put_old' is required to be under 'new_root'.
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, fuzzy
380 #| msgid ""
381 #| "I<new_root> or I<put_old> are on the current root file system, or a file "
382 #| "system is already mounted on I<put_old>."
383 msgid ""
384 "I<new_root> or I<put_old> is on the current root mount. (This error covers "
385 "the pathological case where I<new_root> is I<\\[dq]/\\[dq]>.)"
386 msgstr ""
387 "I<new_root> 나I<put_old>는 현재 루트파일시스템에 있거나 파일 시스템이 이미 "
388 "I<put_old>에 마운트 되었다."
389
390 #. type: TP
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 #, no-wrap
394 msgid "B<EINVAL>"
395 msgstr "B<EINVAL>"
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, fuzzy
401 #| msgid "I<new_root> or I<put_old> is not a directory."
402 msgid "I<new_root> is not a mount point."
403 msgstr "I<new_root> 나 I<put_old>가 디렉토리가 아니다."
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, fuzzy
409 #| msgid "I<put_old> is not underneath I<new_root>."
410 msgid "I<put_old> is not at or underneath I<new_root>."
411 msgstr "I<put_old>가 I<new_root>밑에 없다."
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "The current root directory is not a mount point (because of an earlier "
418 "B<chroot>(2))."
419 msgstr ""
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid "The current root is on the rootfs (initial ramfs) mount; see NOTES."
425 msgstr ""
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 msgid ""
431 "Either the mount point at I<new_root>, or the parent mount of that mount "
432 "point, has propagation type B<MS_SHARED>."
433 msgstr ""
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 msgid "I<put_old> is a mount point and has the propagation type B<MS_SHARED>."
439 msgstr ""
440
441 #. type: TP
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "B<ENOTDIR>"
446 msgstr "B<ENOTDIR>"
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid "I<new_root> or I<put_old> is not a directory."
452 msgstr "I<new_root> 나 I<put_old>가 디렉토리가 아니다."
453
454 #. type: TP
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "B<EPERM>"
459 msgstr "B<EPERM>"
460
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 #, fuzzy
465 #| msgid "The current process does not have the administrator capability."
466 msgid "The calling process does not have the B<CAP_SYS_ADMIN> capability."
467 msgstr "현재 프로세스가 관리자 기능이 없다."
468
469 #. type: SH
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "STANDARDS"
474 msgstr "표준"
475
476 #. type: Plain text
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 msgid "Linux."
480 msgstr "리눅스."
481
482 #. type: SH
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "HISTORY"
487 msgstr "이력"
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid "Linux 2.3.41."
493 msgstr "Linux 2.3.41."
494
495 #. type: SH
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "NOTES"
500 msgstr "주의"
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 msgid ""
506 "A command-line interface for this system call is provided by "
507 "B<pivot_root>(8)."
508 msgstr ""
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 "B<pivot_root>() allows the caller to switch to a new root filesystem while "
515 "at the same time placing the old root mount at a location under I<new_root> "
516 "from where it can subsequently be unmounted. (The fact that it moves all "
517 "processes that have a root directory or current working directory on the old "
518 "root directory to the new root frees the old root directory of users, "
519 "allowing the old root mount to be unmounted more easily.)"
520 msgstr ""
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 typical use of B<pivot_root> is during system startup, when the "
528 #| "system mounts a temporary root file system (e.g. an B<initrd>), then "
529 #| "mounts the real root file system, and eventually turns the latter into "
530 #| "the current root of all relevant processes or threads."
531 msgid ""
532 "One use of B<pivot_root>() is during system startup, when the system mounts "
533 "a temporary root filesystem (e.g., an B<initrd>(4)), then mounts the real "
534 "root filesystem, and eventually turns the latter into the root directory of "
535 "all relevant processes and threads. A modern use is to set up a root "
536 "filesystem during the creation of a container."
537 msgstr ""
538 "의 전형적인 사용은 시스템이 임시 루트 파일시스템을 마운트할 때인 시스템 부팅"
539 "동안이다. 그리고나서 실제 루트 파일 시스템을 마운트하고, 결국 모든 관련된 프"
540 "로세스들과 쓰레드의 현재 루트안에 후자로 바꾼다."
541
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 msgid ""
546 "The fact that B<pivot_root>() modifies process root and current working "
547 "directories in the manner noted in DESCRIPTION is necessary in order to "
548 "prevent kernel threads from keeping the old root mount busy with their root "
549 "and current working directories, even if they never access the filesystem in "
550 "any way."
551 msgstr ""
552
553 #. type: Plain text
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 msgid ""
557 "The rootfs (initial ramfs) cannot be B<pivot_root>()ed. The recommended "
558 "method of changing the root filesystem in this case is to delete everything "
559 "in rootfs, overmount rootfs with the new root, attach I<stdin>/I<stdout>/"
560 "I<stderr> to the new I</dev/console>, and exec the new B<init>(1). Helper "
561 "programs for this process exist; see B<switch_root>(8)."
562 msgstr ""
563
564 #. type: SS
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 #, no-wrap
568 msgid "pivot_root(\\[dq].\\[dq], \\[dq].\\[dq])"
569 msgstr "pivot_root(\\[dq].\\[dq], \\[dq].\\[dq])"
570
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid ""
575 "I<new_root> and I<put_old> may be the same directory. In particular, the "
576 "following sequence allows a pivot-root operation without needing to create "
577 "and remove a temporary directory:"
578 msgstr ""
579
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 #, no-wrap
584 msgid ""
585 "chdir(new_root);\n"
586 "pivot_root(\".\", \".\");\n"
587 "umount2(\".\", MNT_DETACH);\n"
588 msgstr ""
589 "chdir(new_root);\n"
590 "pivot_root(\".\", \".\");\n"
591 "umount2(\".\", MNT_DETACH);\n"
592
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 sequence succeeds because the B<pivot_root>() call stacks the old root "
598 "mount point on top of the new root mount point at I</>. At that point, the "
599 "calling process's root directory and current working directory refer to the "
600 "new root mount point (I<new_root>). During the subsequent B<umount>() "
601 "call, resolution of I<\\[dq].\\[dq]> starts with I<new_root> and then moves "
602 "up the list of mounts stacked at I</>, with the result that old root mount "
603 "point is unmounted."
604 msgstr ""
605
606 #. type: SS
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 #, no-wrap
610 msgid "Historical notes"
611 msgstr ""
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid "For many years, this manual page carried the following text:"
617 msgstr ""
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 #, fuzzy
623 #| msgid ""
624 #| "B<pivot_root> may or may not change the current root and the current "
625 #| "working directory (cwd) of any processes or threads which use the old "
626 #| "root directory. The caller of B<pivot_root> must ensure that processes "
627 #| "with root or cwd at the old root operate correctly in either case. An "
628 #| "easy way to ensure this is to change their root and cwd to I<new_root> "
629 #| "before invoking B<pivot_root>."
630 msgid ""
631 "B<pivot_root>() may or may not change the current root and the current "
632 "working directory of any processes or threads which use the old root "
633 "directory. The caller of B<pivot_root>() must ensure that processes with "
634 "root or current working directory at the old root operate correctly in "
635 "either case. An easy way to ensure this is to change their root and current "
636 "working directory to I<new_root> before invoking B<pivot_root>()."
637 msgstr ""
638 "B<pivot_root>는 현재 루트와 모든 프로세스나 쓰레드의 현재 작업중인 디렉토리"
639 "(cwd)를 변화시키나 그렇지 않을 수도 있다. B<pivot_root>의 caller는 루트나 cwd"
640 "의 프로세스를 확인해야만 한다. 확인의 쉬운 방법은 B<pivot_root> 이 실행되기 "
641 "전에 new_root로 루트, cwd를 바꾸는 것이다."
642
643 #. type: Plain text
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 msgid ""
647 "This text, written before the system call implementation was even finalized "
648 "in the kernel, was probably intended to warn users at that time that the "
649 "implementation might change before final release. However, the behavior "
650 "stated in DESCRIPTION has remained consistent since this system call was "
651 "first implemented and will not change now."
652 msgstr ""
653
654 #. type: SH
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 #, no-wrap
658 msgid "EXAMPLES"
659 msgstr "폐제"
660
661 #. FIXME
662 #. Would it be better, because simpler, to use unshare(2)
663 #. rather than clone(2) in the example below?
664 #. type: Plain text
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 msgid ""
668 "The program below demonstrates the use of B<pivot_root>() inside a mount "
669 "namespace that is created using B<clone>(2). After pivoting to the root "
670 "directory named in the program's first command-line argument, the child "
671 "created by B<clone>(2) then executes the program named in the remaining "
672 "command-line arguments."
673 msgstr ""
674
675 #. type: Plain text
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 msgid ""
679 "We demonstrate the program by creating a directory that will serve as the "
680 "new root filesystem and placing a copy of the (statically linked) "
681 "B<busybox>(1) executable in that directory."
682 msgstr ""
683
684 #. type: Plain text
685 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
686 #: opensuse-tumbleweed
687 #, no-wrap
688 msgid ""
689 "$B< mkdir /tmp/rootfs>;\n"
690 "$B< ls -id /tmp/rootfs>; # Show inode number of new root directory\n"
691 "319459 /tmp/rootfs\n"
692 "$B< cp $(which busybox) /tmp/rootfs>;\n"
693 "$B< PS1=\\[aq]bbsh$ \\[aq] sudo ./pivot_root_demo /tmp/rootfs /busybox sh>;\n"
694 "bbsh$B< PATH=/>;\n"
695 "bbsh$B< busybox ln busybox ln>;\n"
696 "bbsh$B< ln busybox echo>;\n"
697 "bbsh$B< ln busybox ls>;\n"
698 "bbsh$B< ls>;\n"
699 "busybox echo ln ls\n"
700 "bbsh$B< ls -id />; # Compare with inode number above\n"
701 "319459 /\n"
702 "bbsh$B< echo \\[aq]hello world\\[aq]>;\n"
703 "hello world\n"
704 msgstr ""
705
706 #. type: SS
707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
709 #, no-wrap
710 msgid "Program source"
711 msgstr ""
712
713 #. type: Plain text
714 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
715 #: opensuse-tumbleweed
716 #, no-wrap
717 msgid ""
718 "/* pivot_root_demo.c */\n"
719 "\\&\n"
720 "#define _GNU_SOURCE\n"
721 "#include E<lt>err.hE<gt>\n"
722 "#include E<lt>limits.hE<gt>\n"
723 "#include E<lt>sched.hE<gt>\n"
724 "#include E<lt>signal.hE<gt>\n"
725 "#include E<lt>stdio.hE<gt>\n"
726 "#include E<lt>stdlib.hE<gt>\n"
727 "#include E<lt>sys/mman.hE<gt>\n"
728 "#include E<lt>sys/mount.hE<gt>\n"
729 "#include E<lt>sys/stat.hE<gt>\n"
730 "#include E<lt>sys/syscall.hE<gt>\n"
731 "#include E<lt>sys/wait.hE<gt>\n"
732 "#include E<lt>unistd.hE<gt>\n"
733 "\\&\n"
734 "static int\n"
735 "pivot_root(const char *new_root, const char *put_old)\n"
736 "{\n"
737 " return syscall(SYS_pivot_root, new_root, put_old);\n"
738 "}\n"
739 "\\&\n"
740 "#define STACK_SIZE (1024 * 1024)\n"
741 "\\&\n"
742 "static int /* Startup function for cloned child */\n"
743 "child(void *arg)\n"
744 "{\n"
745 " char path[PATH_MAX];\n"
746 " char **args = arg;\n"
747 " char *new_root = args[0];\n"
748 " const char *put_old = \"/oldrootfs\";\n"
749 "\\&\n"
750 " /* Ensure that \\[aq]new_root\\[aq] and its parent mount don\\[aq]t have\n"
751 " shared propagation (which would cause pivot_root() to\n"
752 " return an error), and prevent propagation of mount\n"
753 " events to the initial mount namespace. */\n"
754 "\\&\n"
755 " if (mount(NULL, \"/\", NULL, MS_REC | MS_PRIVATE, NULL) == -1)\n"
756 " err(EXIT_FAILURE, \"mount-MS_PRIVATE\");\n"
757 "\\&\n"
758 " /* Ensure that \\[aq]new_root\\[aq] is a mount point. */\n"
759 "\\&\n"
760 " if (mount(new_root, new_root, NULL, MS_BIND, NULL) == -1)\n"
761 " err(EXIT_FAILURE, \"mount-MS_BIND\");\n"
762 "\\&\n"
763 " /* Create directory to which old root will be pivoted. */\n"
764 "\\&\n"
765 " snprintf(path, sizeof(path), \"%s/%s\", new_root, put_old);\n"
766 " if (mkdir(path, 0777) == -1)\n"
767 " err(EXIT_FAILURE, \"mkdir\");\n"
768 "\\&\n"
769 " /* And pivot the root filesystem. */\n"
770 "\\&\n"
771 " if (pivot_root(new_root, path) == -1)\n"
772 " err(EXIT_FAILURE, \"pivot_root\");\n"
773 "\\&\n"
774 " /* Switch the current working directory to \"/\". */\n"
775 "\\&\n"
776 " if (chdir(\"/\") == -1)\n"
777 " err(EXIT_FAILURE, \"chdir\");\n"
778 "\\&\n"
779 " /* Unmount old root and remove mount point. */\n"
780 "\\&\n"
781 " if (umount2(put_old, MNT_DETACH) == -1)\n"
782 " perror(\"umount2\");\n"
783 " if (rmdir(put_old) == -1)\n"
784 " perror(\"rmdir\");\n"
785 "\\&\n"
786 " /* Execute the command specified in argv[1]... */\n"
787 "\\&\n"
788 " execv(args[1], &args[1]);\n"
789 " err(EXIT_FAILURE, \"execv\");\n"
790 "}\n"
791 "\\&\n"
792 "int\n"
793 "main(int argc, char *argv[])\n"
794 "{\n"
795 " char *stack;\n"
796 "\\&\n"
797 " /* Create a child process in a new mount namespace. */\n"
798 "\\&\n"
799 " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n"
800 " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n"
801 " if (stack == MAP_FAILED)\n"
802 " err(EXIT_FAILURE, \"mmap\");\n"
803 "\\&\n"
804 " if (clone(child, stack + STACK_SIZE,\n"
805 " CLONE_NEWNS | SIGCHLD, &argv[1]) == -1)\n"
806 " err(EXIT_FAILURE, \"clone\");\n"
807 "\\&\n"
808 " /* Parent falls through to here; wait for child. */\n"
809 "\\&\n"
810 " if (wait(NULL) == -1)\n"
811 " err(EXIT_FAILURE, \"wait\");\n"
812 "\\&\n"
813 " exit(EXIT_SUCCESS);\n"
814 "}\n"
815 msgstr ""
816
817 #. SRC END
818 #. type: SH
819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
820 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
821 #, no-wrap
822 msgid "SEE ALSO"
823 msgstr "추가 참조"
824
825 #. type: Plain text
826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
828 msgid ""
829 "B<chdir>(2), B<chroot>(2), B<mount>(2), B<stat>(2), B<initrd>(4), "
830 "B<mount_namespaces>(7), B<pivot_root>(8), B<switch_root>(8)"
831 msgstr ""
832 "B<chdir>(2), B<chroot>(2), B<mount>(2), B<stat>(2), B<initrd>(4), "
833 "B<mount_namespaces>(7), B<pivot_root>(8), B<switch_root>(8)"
834
835 #. type: TH
836 #: debian-trixie
837 #, no-wrap
838 msgid "2024-05-02"
839 msgstr "2024년 5월 2일"
840
841 #. type: TH
842 #: debian-trixie
843 #, no-wrap
844 msgid "Linux man-pages 6.9.1"
845 msgstr "Linux man-pages 6.9.1"
846
847 #. type: Plain text
848 #: debian-trixie
849 msgid "Standard C library (I<libc>, I<-lc>)"
850 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
851
852 #. type: Plain text
853 #: debian-trixie fedora-44 fedora-rawhide
854 msgid ""
855 "B<pivot_root>() changes the root directory and the current working "
856 "directory of each process or thread in the same mount namespace to "
857 "I<new_root> if they point to the old root directory. (See also NOTES.) On "
858 "the other hand, B<pivot_root>() does not change the caller's current "
859 "working directory (unless it is on the old root directory), and thus it "
860 "should be followed by a B<chdir(\"/\")> call."
861 msgstr ""
862
863 #. type: Plain text
864 #: debian-trixie fedora-44 fedora-rawhide
865 #, fuzzy
866 msgid ""
867 "I<put_old> must be at or underneath I<new_root>; that is, adding some "
868 "nonnegative number of \"I</..>\" suffixes to the pathname pointed to by "
869 "I<put_old> must yield the same directory as I<new_root>."
870 msgstr "I<put_old>는 I<new_root> 아래이어야만 한다."
871
872 #. type: Plain text
873 #: debian-trixie fedora-44 fedora-rawhide
874 #, no-wrap
875 msgid ""
876 "$ B<mkdir /tmp/rootfs>\n"
877 "$ B<ls -id /tmp/rootfs> # Show inode number of new root directory\n"
878 "319459 /tmp/rootfs\n"
879 "$ B<cp $(which busybox) /tmp/rootfs>\n"
880 "$ B<PS1=\\[aq]bbsh$ \\[aq] sudo ./pivot_root_demo /tmp/rootfs /busybox sh>\n"
881 "bbsh$ B<PATH=/>\n"
882 "bbsh$ B<busybox ln busybox ln>\n"
883 "bbsh$ B<ln busybox echo>\n"
884 "bbsh$ B<ln busybox ls>\n"
885 "bbsh$ B<ls>\n"
886 "busybox echo ln ls\n"
887 "bbsh$ B<ls -id /> # Compare with inode number above\n"
888 "319459 /\n"
889 "bbsh$ B<echo \\[aq]hello world\\[aq]>\n"
890 "hello world\n"
891 msgstr ""
892
893 #. type: Plain text
894 #: debian-trixie fedora-44 fedora-rawhide
895 #, no-wrap
896 msgid ""
897 "/* pivot_root_demo.c */\n"
898 "\\&\n"
899 "#define _GNU_SOURCE\n"
900 "#include E<lt>err.hE<gt>\n"
901 "#include E<lt>limits.hE<gt>\n"
902 "#include E<lt>sched.hE<gt>\n"
903 "#include E<lt>signal.hE<gt>\n"
904 "#include E<lt>stdio.hE<gt>\n"
905 "#include E<lt>stdlib.hE<gt>\n"
906 "#include E<lt>sys/mman.hE<gt>\n"
907 "#include E<lt>sys/mount.hE<gt>\n"
908 "#include E<lt>sys/stat.hE<gt>\n"
909 "#include E<lt>sys/syscall.hE<gt>\n"
910 "#include E<lt>sys/wait.hE<gt>\n"
911 "#include E<lt>unistd.hE<gt>\n"
912 "\\&\n"
913 "static int\n"
914 "pivot_root(const char *new_root, const char *put_old)\n"
915 "{\n"
916 " return syscall(SYS_pivot_root, new_root, put_old);\n"
917 "}\n"
918 "\\&\n"
919 "#define STACK_SIZE (1024 * 1024)\n"
920 "\\&\n"
921 "static int /* Startup function for cloned child */\n"
922 "child(void *arg)\n"
923 "{\n"
924 " char path[PATH_MAX];\n"
925 " char **args = arg;\n"
926 " char *new_root = args[0];\n"
927 " const char *put_old = \"/oldrootfs\";\n"
928 "\\&\n"
929 " /* Ensure that \\[aq]new_root\\[aq] and its parent mount don\\[aq]t have\n"
930 " shared propagation (which would cause pivot_root() to\n"
931 " return an error), and prevent propagation of mount\n"
932 " events to the initial mount namespace. */\n"
933 "\\&\n"
934 " if (mount(NULL, \"/\", NULL, MS_REC | MS_PRIVATE, NULL) == -1)\n"
935 " err(EXIT_FAILURE, \"mount-MS_PRIVATE\");\n"
936 "\\&\n"
937 " /* Ensure that \\[aq]new_root\\[aq] is a mount point. */\n"
938 "\\&\n"
939 " if (mount(new_root, new_root, NULL, MS_BIND, NULL) == -1)\n"
940 " err(EXIT_FAILURE, \"mount-MS_BIND\");\n"
941 "\\&\n"
942 " /* Create directory to which old root will be pivoted. */\n"
943 "\\&\n"
944 " snprintf(path, sizeof(path), \"%s/%s\", new_root, put_old);\n"
945 " if (mkdir(path, 0777) == -1)\n"
946 " err(EXIT_FAILURE, \"mkdir\");\n"
947 "\\&\n"
948 " /* And pivot the root filesystem. */\n"
949 "\\&\n"
950 " if (pivot_root(new_root, path) == -1)\n"
951 " err(EXIT_FAILURE, \"pivot_root\");\n"
952 "\\&\n"
953 " /* Switch the current working directory to \"/\". */\n"
954 "\\&\n"
955 " if (chdir(\"/\") == -1)\n"
956 " err(EXIT_FAILURE, \"chdir\");\n"
957 "\\&\n"
958 " /* Unmount old root and remove mount point. */\n"
959 "\\&\n"
960 " if (umount2(put_old, MNT_DETACH) == -1)\n"
961 " perror(\"umount2\");\n"
962 " if (rmdir(put_old) == -1)\n"
963 " perror(\"rmdir\");\n"
964 "\\&\n"
965 " /* Execute the command specified in argv[1]... */\n"
966 "\\&\n"
967 " execv(args[1], &args[1]);\n"
968 " err(EXIT_FAILURE, \"execv\");\n"
969 "}\n"
970 "\\&\n"
971 "int\n"
972 "main(int argc, char *argv[])\n"
973 "{\n"
974 " char *stack;\n"
975 "\\&\n"
976 " /* Create a child process in a new mount namespace. */\n"
977 "\\&\n"
978 " stack = mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE,\n"
979 " MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);\n"
980 " if (stack == MAP_FAILED)\n"
981 " err(EXIT_FAILURE, \"mmap\");\n"
982 "\\&\n"
983 " if (clone(child, stack + STACK_SIZE,\n"
984 " CLONE_NEWNS | SIGCHLD, &argv[1]) == -1)\n"
985 " err(EXIT_FAILURE, \"clone\");\n"
986 "\\&\n"
987 " /* Parent falls through to here; wait for child. */\n"
988 "\\&\n"
989 " if (wait(NULL) == -1)\n"
990 " err(EXIT_FAILURE, \"wait\");\n"
991 "\\&\n"
992 " exit(EXIT_SUCCESS);\n"
993 "}\n"
994 msgstr ""
995
996 #. type: TH
997 #: fedora-44 fedora-rawhide
998 #, no-wrap
999 msgid "2024-07-23"
1000 msgstr "2024년 7월 23일"
1001
1002 #. type: TH
1003 #: fedora-44 fedora-rawhide
1004 #, no-wrap
1005 msgid "Linux man-pages 6.13"
1006 msgstr "Linux man-pages 6.13"
1007
1008 #. type: TH
1009 #: mageia-cauldron
1010 #, no-wrap
1011 msgid "Linux man-pages 6.17"
1012 msgstr "Linux man-pages 6.17"
1013
1014 #. type: TH
1015 #: opensuse-leap-16-1 opensuse-tumbleweed
1016 #, no-wrap
1017 msgid "Linux man-pages (unreleased)"
1018 msgstr "Linux man-pages (미공개)"