Debian Codegraph @

po/ru/man5/proc_pid_fd.5.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 # Alexey, 2016.
5 # Azamat Hackimov <[email protected]>, 2014-2017.
6 # kogamatranslator49 <[email protected]>, 2015.
7 # Darima Kogan <[email protected]>, 2014.
8 # Max Is <[email protected]>, 2016.
9 # Yuri Kozlov <[email protected]>, 2011-2019.
10 # Иван Павлов <[email protected]>, 2017.
11 msgid ""
12 msgstr ""
13 "Project-Id-Version: manpages-l10n 4.22.0\n"
14 "POT-Creation-Date: 2026-06-05 06:36+0200\n"
15 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
16 "Last-Translator: Automatically generated\n"
17 "Language-Team: Russian <[email protected]>\n"
18 "Language: ru\n"
19 "MIME-Version: 1.0\n"
20 "Content-Type: text/plain; charset=UTF-8\n"
21 "Content-Transfer-Encoding: 8bit\n"
22 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
23 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
24
25 #. type: TH
26 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
27 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "proc_pid_fd"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
34 #: opensuse-tumbleweed
35 #, no-wrap
36 msgid "2026-02-08"
37 msgstr "8 февраля 2026 г."
38
39 #. type: TH
40 #: archlinux debian-unstable
41 #, fuzzy, no-wrap
42 #| msgid "Linux man-pages 6.17"
43 msgid "Linux man-pages 6.18"
44 msgstr "Справочные страницы Linux 6.17"
45
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 #, no-wrap
50 msgid "NAME"
51 msgstr "НАИМЕНОВАНИЕ"
52
53 #. type: Plain text
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 msgid "/proc/pid/fd/ - file descriptors"
57 msgstr ""
58
59 #. type: SH
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "DESCRIPTION"
64 msgstr "ОПИСАНИЕ"
65
66 #. type: TP
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "I</proc/>pidI</fd/>"
71 msgstr "I</proc/>pidI</fd/>"
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 msgid ""
77 "This is a subdirectory containing one entry for each file which the process "
78 "has open, named by its file descriptor, and which is a symbolic link to the "
79 "actual file. Thus, 0 is standard input, 1 standard output, 2 standard "
80 "error, and so on."
81 msgstr ""
82 "Этот подкаталог содержит одну запись для каждого файла, открытого процессом, "
83 "именем является номер его файлового дескриптора, и которая является "
84 "символьной ссылкой на настоящий файл. Так, 0 — это стандартный поток ввода, "
85 "1 — стандартный поток вывода, 2 — стандартный поток ошибок и т.п."
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 msgid ""
91 "For file descriptors for pipes and sockets, the entries will be symbolic "
92 "links whose content is the file type with the inode. A B<readlink>(2) call "
93 "on this file returns a string in the format:"
94 msgstr ""
95 "Для файловых дескрипторов каналов и сокетов записи будут символьными "
96 "ссылками, содержимое которых — тип файла и inode. Вызов B<readlink>(2) для "
97 "такого файла вернёт строку в формате:"
98
99 #. type: Plain text
100 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
101 #: opensuse-leap-16-1 opensuse-tumbleweed
102 #, fuzzy, no-wrap
103 #| msgid "type:[inode]\n"
104 msgid "I<type>:[I<inode>]\n"
105 msgstr "type:[inode]\n"
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "For example, I<socket:[2248868]> will be a socket and its inode is 2248868. "
112 "For sockets, that inode can be used to find more information in one of the "
113 "files under I</proc/net/>."
114 msgstr ""
115 "Например, I<socket:[2248868]> — для сокета с inode 2248868. Для сокетов эту "
116 "inode можно использовать для поиска дополнительной информации в одном из "
117 "файлов в I</proc/net/>."
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "For file descriptors that have no corresponding inode (e.g., file "
124 "descriptors produced by B<bpf>(2), B<epoll_create>(2), B<eventfd>(2), "
125 "B<inotify_init>(2), B<perf_event_open>(2), B<signalfd>(2), "
126 "B<timerfd_create>(2), and B<userfaultfd>(2)), the entry will be a symbolic "
127 "link with contents of the form"
128 msgstr ""
129 "Для файловых дескриптор без соответствующей иноды (например, файловые "
130 "дескрипторы, создаваемые B<bpf>(2), B<epoll_create>(2), B<eventfd>(2), "
131 "B<inotify_init>(2), B<perf_event_open>(2), B<signalfd>(2), "
132 "B<timerfd_create>(2) и B<userfaultfd>(2)), запись будет символьной ссылкой с "
133 "содержимым в виде"
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid "anon_inode:I<file-type>\n"
140 msgstr "anon_inode:I<тип-файла>\n"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "In many cases (but not all), the I<file-type> is surrounded by square "
147 "brackets."
148 msgstr ""
149 "Во многих случаях (но не всех) I<тип-файла> заключается в квадратные скобки."
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "For example, an epoll file descriptor will have a symbolic link whose "
156 "content is the string I<anon_inode:[eventpoll]>."
157 msgstr ""
158 "Например, файловый дескриптор epoll будет иметь символьную ссылку с "
159 "содержимым в виде строки I<anon_inode:[eventpoll]>."
160
161 #. The following was still true as at kernel 2.6.13
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "In a multithreaded process, the contents of this directory are not available "
167 "if the main thread has already terminated (typically by calling "
168 "B<pthread_exit>(3))."
169 msgstr ""
170 "В многонитевых процессах, содержимое этого каталога недоступно, если главная "
171 "нить уже завершила работу (обычно при помощи вызова B<pthread_exit>(3))."
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "Programs that take a filename as a command-line argument, but don't take "
178 "input from standard input if no argument is supplied, and programs that "
179 "write to a file named as a command-line argument, but don't send their "
180 "output to standard output if no argument is supplied, can nevertheless be "
181 "made to use standard input or standard output by using I</proc/>pidI</fd> "
182 "files as command-line arguments. For example, assuming that I<-i> is the "
183 "flag designating an input file and I<-o> is the flag designating an output "
184 "file:"
185 msgstr ""
186 "Программы, принимающие в аргументе командной строки имя файлы, не читают "
187 "данные из стандартного ввода, если аргумент не указан, а программы, которые "
188 "выполняют запись в файл с именем, указанным в аргументе командной строки, не "
189 "пишут данные в стандартный вывод, если аргумент не указан, но, тем не менее, "
190 "могут использовать стандартный ввод или вывод через файлы I</proc/>pidI</"
191 "fd>, указанные в аргументе командной строки. Например, подразумевая что I<-"
192 "i> является флагом, обозначающим входной файл, и I<-o> является флагом, "
193 "обозначающим выходной файл, вы можете указать:"
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "$B< foobar -i /proc/self/fd/0 -o /proc/self/fd/1 ...>\n"
200 msgstr "$B< foobar -i /proc/self/fd/0 -o /proc/self/fd/1 …>\n"
201
202 #. The following is not true in my tests (MTK):
203 #. Note that this will not work for
204 #. programs that seek on their files, as the files in the fd directory
205 #. are not seekable.
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid "and you have a working filter."
210 msgstr "и вы получите работающий фильтр."
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "I</proc/self/fd/N> is approximately the same as I</dev/fd/N> in some UNIX "
217 "and UNIX-like systems. Most Linux MAKEDEV scripts symbolically link I</dev/"
218 "fd> to I</proc/self/fd>, in fact."
219 msgstr ""
220 "I</proc/self/fd/N> \\(em это примерно то же, что и I</dev/fd/N> на некоторых "
221 "системах UNIX и подобных им. Фактически, большинство сценариев MAKEDEV в "
222 "Linux создают символьную ссылку с именем I</dev/fd> на файл I</proc/self/fd>."
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid ""
228 "Most systems provide symbolic links I</dev/stdin>, I</dev/stdout>, and I</"
229 "dev/stderr>, which respectively link to the files I<0>, I<1>, and I<2> in I</"
230 "proc/self/fd>. Thus the example command above could be written as:"
231 msgstr ""
232 "Большинство систем предоставляют символьные ссылки I</dev/stdin>, I</dev/"
233 "stdout> и I</dev/stderr>, которые соответствуют ссылкам на файлы I<0>, I<1> "
234 "и I<2> в I</proc/self/fd>. Так, пример указанной выше команды может быть "
235 "переписан в следующем виде:"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "$B< foobar -i /dev/stdin -o /dev/stdout ...>\n"
242 msgstr "$B< foobar -i /dev/stdin -o /dev/stdout ...>\n"
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "Permission to dereference or read (B<readlink>(2)) the symbolic links in "
249 "this directory is governed by a ptrace access mode "
250 "B<PTRACE_MODE_READ_FSCREDS> check; see B<ptrace>(2)."
251 msgstr ""
252 "Право разыменовывать или читать (B<readlink>(2)) символические ссылки в этом "
253 "каталоге определяется проверкой режима доступа ptrace "
254 "B<PTRACE_MODE_READ_FSCREDS>; смотрите B<ptrace>(2)."
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "Note that for file descriptors referring to inodes (pipes and sockets, see "
261 "above), those inodes still have permission bits and ownership information "
262 "distinct from those of the I</proc/>pidI</fd> entry, and that the owner may "
263 "differ from the user and group IDs of the process. An unprivileged process "
264 "may lack permissions to open them, as in this example:"
265 msgstr ""
266 "Заметим, что для файловых дескрипторов, указывающих на иноды (каналы и "
267 "сокеты, смотрите выше), эти иноды по-прежнему имеют биты прав и информация о "
268 "владельце отличается от имеющейся у I</proc/>pidI</fd> и этот владелец может "
269 "отличаться от идентификатора пользователя и группы процесса. "
270 "Непривилегированный процесс может не иметь прав на их открытие, как в этом "
271 "примере:"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid ""
278 "$B< echo test | sudo -u nobody cat>\n"
279 "test\n"
280 "$B< echo test | sudo -u nobody cat /proc/self/fd/0>\n"
281 "cat: /proc/self/fd/0: Permission denied\n"
282 msgstr ""
283 "$B< echo test | sudo -u nobody cat>\n"
284 "test\n"
285 "$B< echo test | sudo -u nobody cat /proc/self/fd/0>\n"
286 "cat: /proc/self/fd/0: Permission denied\n"
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid ""
292 "File descriptor 0 refers to the pipe created by the shell and owned by that "
293 "shell's user, which is not I<nobody>, so B<cat> does not have permission to "
294 "create a new file descriptor to read from that inode, even though it can "
295 "still read from its existing file descriptor 0."
296 msgstr ""
297 "Файловый дескриптор 0 указывает на канал, созданный оболочкой и "
298 "принадлежащий владельцу оболочки, не I<nobody>, поэтому у программы B<cat> "
299 "нет прав на создание нового файлового дескриптора для чтения из этой иноды, "
300 "хотя при этом она всё-таки может читать из существующего файлового "
301 "дескриптора 0."
302
303 #. type: SH
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "SEE ALSO"
308 msgstr "СМОТРИТЕ ТАКЖЕ"
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid "B<proc>(5)"
314 msgstr "B<proc>(5)"
315
316 #. type: TH
317 #: debian-trixie
318 #, no-wrap
319 msgid "2024-05-02"
320 msgstr "2 мая 2024 г."
321
322 #. type: TH
323 #: debian-trixie
324 #, no-wrap
325 msgid "Linux man-pages 6.9.1"
326 msgstr "Страницы руководства Linux 6.9.1"
327
328 #. type: Plain text
329 #: debian-trixie
330 #, no-wrap
331 msgid "type:[inode]\n"
332 msgstr "type:[inode]\n"
333
334 #. type: TH
335 #: fedora-44 fedora-rawhide
336 #, no-wrap
337 msgid "2024-11-17"
338 msgstr "17 ноября 2024 г."
339
340 #. type: TH
341 #: fedora-44 fedora-rawhide
342 #, no-wrap
343 msgid "Linux man-pages 6.13"
344 msgstr "Страницы руководства Linux 6.13"
345
346 #. type: TH
347 #: mageia-cauldron
348 #, no-wrap
349 msgid "Linux man-pages 6.17"
350 msgstr "Страницы руководства Linux 6.17"
351
352 #. type: TH
353 #: opensuse-leap-16-1 opensuse-tumbleweed
354 #, no-wrap
355 msgid "Linux man-pages (unreleased)"
356 msgstr "Страницы руководства Linux (не выпущены)"