Debian Codegraph @

po/ru/man7/pipe.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 # 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\n"
14 "POT-Creation-Date: 2026-06-05 06:35+0200\n"
15 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
16 "Last-Translator: Yuri Kozlov <[email protected]>\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=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
23 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
24 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
25 "X-Generator: Lokalize 2.0\n"
26
27 #. type: TH
28 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
29 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
30 #, no-wrap
31 msgid "pipe"
32 msgstr "pipe"
33
34 #. type: TH
35 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
36 #: opensuse-tumbleweed
37 #, no-wrap
38 msgid "2026-02-08"
39 msgstr "8 февраля 2026 г."
40
41 #. type: TH
42 #: archlinux debian-unstable
43 #, fuzzy, no-wrap
44 #| msgid "Linux man-pages 6.17"
45 msgid "Linux man-pages 6.18"
46 msgstr "Справочные страницы Linux 6.17"
47
48 #. type: SH
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 #, no-wrap
52 msgid "NAME"
53 msgstr "НАИМЕНОВАНИЕ"
54
55 #. type: Plain text
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 msgid "pipe - overview of pipes and FIFOs"
59 msgstr "pipe - обзор каналов и FIFO"
60
61 #. type: SH
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 #, no-wrap
65 msgid "DESCRIPTION"
66 msgstr "ОПИСАНИЕ"
67
68 #. type: Plain text
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 msgid ""
72 "Pipes and FIFOs (also known as named pipes) provide a unidirectional "
73 "interprocess communication channel. A pipe has a I<read end> and a I<write "
74 "end>. Data written to the write end of a pipe can be read from the read end "
75 "of the pipe."
76 msgstr ""
77 "Каналы и FIFO (также называемые именованными каналами) предоставляют "
78 "двунаправленный канал обмена между процессами. У канала имеется I<конец для "
79 "чтения> (read end) и I<конец для записи> (write end). Данные, записанные в "
80 "конец для записи, можно прочитать из конца для чтения."
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 msgid ""
86 "A pipe is created using B<pipe>(2), which creates a new pipe and returns two "
87 "file descriptors, one referring to the read end of the pipe, the other "
88 "referring to the write end. Pipes can be used to create a communication "
89 "channel between related processes; see B<pipe>(2) for an example."
90 msgstr ""
91 "Канал создаётся с помощью вызова B<pipe>(2), который образует новый канал и "
92 "возвращает два файловых дескриптора, один указывает на конец для чтения, а "
93 "другой на конец для записи. Каналы можно использовать для создания канала "
94 "обмена между процессами; пример смотрите в B<pipe>(2)."
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid ""
100 "A FIFO (short for First In First Out) has a name within the filesystem "
101 "(created using B<mkfifo>(3)), and is opened using B<open>(2). Any process "
102 "may open a FIFO, assuming the file permissions allow it. The read end is "
103 "opened using the B<O_RDONLY> flag; the write end is opened using the "
104 "B<O_WRONLY> flag. See B<fifo>(7) for further details. I<Note>: although "
105 "FIFOs have a pathname in the filesystem, I/O on FIFOs does not involve "
106 "operations on the underlying device (if there is one)."
107 msgstr ""
108 "У FIFO (сокращение от First In First Out, первым вошёл, первым вышел) "
109 "имеется имя в файловой системе (создаётся с помощью B<mkfifo>(3)), и такой "
110 "канал открывается с помощью B<open>(2). Любой процесс может открыть FIFO, "
111 "если это ему разрешено правами на файл. Конец для чтения открывается при "
112 "указании флага B<O_RDONLY>; конец для записи открывается при указании флага "
113 "B<O_WRONLY>. Подробней смотрите B<fifo>(7). I<Замечание>: хотя у FIFO есть "
114 "путь в файловой системе, при вводе-выводе из FIFO не используются операции с "
115 "нижележащим устройством (если оно есть)."
116
117 #. type: SS
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid "I/O on pipes and FIFOs"
122 msgstr "Ввод-вывод из каналов и FIFO"
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "The only difference between pipes and FIFOs is the manner in which they are "
129 "created and opened. Once these tasks have been accomplished, I/O on pipes "
130 "and FIFOs has exactly the same semantics."
131 msgstr ""
132 "Каналы и FIFO отличаются только способом создания и открытия. После "
133 "выполнения этих задач, ввод-вывод из каналов и FIFO имеет одинаковую "
134 "семантику."
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 #, fuzzy
140 #| msgid ""
141 #| "If a process attempts to read from an empty pipe, then B<read>(2) will "
142 #| "block until data is available. If a process attempts to write to a full "
143 #| "pipe (see below), then B<write>(2) blocks until sufficient data has been "
144 #| "read from the pipe to allow the write to complete. Nonblocking I/O is "
145 #| "possible by using the B<fcntl>(2) B<F_SETFL> operation to enable the "
146 #| "B<O_NONBLOCK> open file status flag."
147 msgid ""
148 "If a process attempts to read from an empty pipe, then B<read>(2) will "
149 "block until data is available. If a process attempts to write to a full "
150 "pipe (see below), then B<write>(2) blocks until sufficient data has been "
151 "read from the pipe to allow the write to complete."
152 msgstr ""
153 "Если процесс пытается выполнить чтение из пустого канала, то B<read>(2) "
154 "заблокирует выполнение в ожидании данных. Если процесс пытается выполнить "
155 "запись в заполненный канал (смотрите далее), то B<write>(2) заблокирует "
156 "выполнение до тех пор, пока из канала не будут прочитаны данные, чтобы можно "
157 "было записать ожидающие. Возможен неблокируемый ввод-вывод с помощью вызова "
158 "B<fcntl>(2) с операцией B<F_SETFL>, включающей флаг B<O_NONBLOCK> в "
159 "состоянии открытого файла."
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid ""
165 "Nonblocking I/O is possible by using the B<fcntl>(2) B<F_SETFL> operation "
166 "to enable the B<O_NONBLOCK> open file status flag or by opening a "
167 "B<fifo>(7) with B<O_NONBLOCK>. If any process has the pipe open for "
168 "writing, reads fail with B<EAGAIN>; otherwise\\[em]with no potential "
169 "writers\\[em]reads succeed and return empty."
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "The communication channel provided by a pipe is a I<byte stream>: there is "
177 "no concept of message boundaries."
178 msgstr ""
179 "Канал обмена, предоставляемый каналом, является I<потоком байт>: какие-либо "
180 "границы сообщений отсутствуют."
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "If all file descriptors referring to the write end of a pipe have been "
187 "closed, then an attempt to B<read>(2) from the pipe will see end-of-file "
188 "(B<read>(2) will return 0). If all file descriptors referring to the read "
189 "end of a pipe have been closed, then a B<write>(2) will cause a B<SIGPIPE> "
190 "signal to be generated for the calling process. If the calling process is "
191 "ignoring this signal, then B<write>(2) fails with the error B<EPIPE>. An "
192 "application that uses B<pipe>(2) and B<fork>(2) should use suitable "
193 "B<close>(2) calls to close unnecessary duplicate file descriptors; this "
194 "ensures that end-of-file and B<SIGPIPE>/B<EPIPE> are delivered when "
195 "appropriate."
196 msgstr ""
197 "Если все файловые дескрипторы, указывающие на конец канала для записи, были "
198 "закрыты, то попытка выполнить B<read>(2) из канала возвратит конец файла "
199 "(B<read>(2) вернёт 0). Если все файловые дескрипторы, указывающие на конец "
200 "канала для чтения, были закрыты, то B<write>(2) завершится сигналом "
201 "B<SIGPIPE>, который будет послан вызывающему процессу. Если вызывающий "
202 "процесс игнорирует этот сигнал, то B<write>(2) завершится ошибкой B<EPIPE>. "
203 "Приложение, использующее B<pipe>(2) и B<fork>(2), должно использовать "
204 "правильные вызовы B<close>(2) для закрытия ненужных копий файловых "
205 "дескрипторов; это обеспечит появления конца файла и доставку B<SIGPIPE>/"
206 "B<EPIPE> в подходящий момент."
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid "It is not possible to apply B<lseek>(2) to a pipe."
212 msgstr "Для канала невозможно вызвать B<lseek>(2)."
213
214 #. type: SS
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "Pipe capacity"
219 msgstr "Ёмкость канала"
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 msgid ""
225 "A pipe has a limited capacity. If the pipe is full, then a B<write>(2) "
226 "will block or fail, depending on whether the B<O_NONBLOCK> flag is set (see "
227 "below). Different implementations have different limits for the pipe "
228 "capacity. Applications should not rely on a particular capacity: an "
229 "application should be designed so that a reading process consumes data as "
230 "soon as it is available, so that a writing process does not remain blocked."
231 msgstr ""
232 "Канал имеет ограниченную ёмкость. Если канал переполнен, то B<write>(2) "
233 "заблокируется или завершится с ошибкой, в зависимости от наличия флага "
234 "B<O_NONBLOCK> (смотрите далее). В различных реализациях разные ограничения "
235 "на ёмкость канала. Приложения не должны полагаться на определённую величину: "
236 "их нужно разрабатывать так, чтобы читающий процесс перерабатывал данные как "
237 "только они появляются, чтобы пишущий процесс не блокировался."
238
239 #. type: Plain text
240 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
241 #: opensuse-leap-16-1 opensuse-tumbleweed
242 #, fuzzy
243 #| msgid ""
244 #| "In Linux versions before 2.6.11, the capacity of a pipe was the same as "
245 #| "the system page size (e.g., 4096 bytes on i386). Since Linux 2.6.11, the "
246 #| "pipe capacity is 16 pages (i.e., 65,536 bytes in a system with a page "
247 #| "size of 4096 bytes). Since Linux 2.6.35, the default pipe capacity is 16 "
248 #| "pages, but the capacity can be queried and set using the B<fcntl>(2) "
249 #| "B<F_GETPIPE_SZ> and B<F_SETPIPE_SZ> operations. See B<fcntl>(2) for "
250 #| "more information."
251 msgid ""
252 "Before Linux 2.6.11, the capacity of a pipe was the same as the system page "
253 "size (e.g., 4096 bytes on i386). Since Linux 2.6.11, the pipe capacity is "
254 "16 pages (i.e., 65,536 bytes in a system with a page size of 4096 bytes). "
255 "Since Linux 2.6.35, the default pipe capacity is 16 pages, but the capacity "
256 "can be queried and set using the B<fcntl>(2) B<F_GETPIPE_SZ> and "
257 "B<F_SETPIPE_SZ> operations. See B<fcntl>(2) for more information. Since "
258 "Linux 4.5, the default pipe capacity is lower than 16 pages when the I<pipe-"
259 "user-pages-soft> limit is exceeded."
260 msgstr ""
261 "В Linux до версии 2.6.11, ёмкость канала была равна размеру системной "
262 "страницы (4096 байт на i386). Начиная с Linux 2.6.11, ёмкость канала равна "
263 "16 страницам (т. е., 65536 байтам в системе с размером страницы в 4096 "
264 "байта). Начиная с Linux 2.6.35, ёмкость канала по умолчанию равна 16 "
265 "страницам, но это значение можно прочитать и изменить с помощью вызова "
266 "B<fcntl>(2) с операциями B<F_GETPIPE_SZ> и B<F_SETPIPE_SZ>. Подробности "
267 "смотрите в B<fcntl>(2)."
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid ""
273 "The following B<ioctl>(2) operation, which can be applied to a file "
274 "descriptor that refers to either end of a pipe, places a count of the number "
275 "of unread bytes in the pipe in the I<int> buffer pointed to by the final "
276 "argument of the call:"
277 msgstr ""
278 "Следующая операция B<ioctl>(2), которая может быть применена к файловому "
279 "дескриптору, указывающему на любой конец канала, помещает количество "
280 "непрочитанных байт канала в буфер I<int>, задаваемый последним аргументом "
281 "вызова:"
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, fuzzy, no-wrap
287 #| msgid " ioctl(fd, FIONREAD, &nbytes);\n"
288 msgid "ioctl(fd, FIONREAD, &nbytes);\n"
289 msgstr " ioctl(fd, FIONREAD, &nbytes);\n"
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid ""
295 "The B<FIONREAD> operation is not specified in any standard, but is provided "
296 "on many implementations."
297 msgstr ""
298 "Операция B<FIONREAD> отсутствует в стандартах, но имеется во многих "
299 "реализациях."
300
301 #. type: SS
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "/proc files"
306 msgstr "Файлы в /proc"
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid ""
312 "On Linux, the following files control how much memory can be used for pipes:"
313 msgstr ""
314 "В Linux управление количеством памяти каналов осуществляется через следующие "
315 "файлы:"
316
317 #. type: TP
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "I</proc/sys/fs/pipe-max-pages> (only in Linux 2.6.34)"
322 msgstr "I</proc/sys/fs/pipe-max-pages> (только в Linux 2.6.34)"
323
324 #. commit b492e95be0ae672922f4734acf3f5d35c30be948
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid ""
329 "An upper limit, in pages, on the capacity that an unprivileged user (one "
330 "without the B<CAP_SYS_RESOURCE> capability) can set for a pipe."
331 msgstr ""
332 "Верхнее ограничение (в страницах) ёмкости, которое непривилегированный "
333 "пользователь (без мандата B<CAP_SYS_RESOURCE>) может задать для канала."
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "The default value for this limit is 16 times the default pipe capacity (see "
340 "above); the lower limit is two pages."
341 msgstr ""
342 "Значение по умолчанию этого ограничения равно 16 кратному размеру ёмкости "
343 "канала по умолчанию (смотрите выше); нижнее ограничение равно 2м страницам."
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 interface was removed in Linux 2.6.35, in favor of I</proc/sys/fs/pipe-"
350 "max-size>."
351 msgstr ""
352 "Данный интерфейс удалён в Linux 2.6.35; его заменяет I</proc/sys/fs/pipe-max-"
353 "size>."
354
355 #. type: TP
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "I</proc/sys/fs/pipe-max-size> (since Linux 2.6.35)"
360 msgstr "I</proc/sys/fs/pipe-max-size> (начиная с Linux 2.6.35)"
361
362 #. commit ff9da691c0498ff81fdd014e7a0731dab2337dac
363 #. This limit is not checked on pipe creation, where the capacity is
364 #. always PIPE_DEF_BUFS, regardless of pipe-max-size
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid ""
369 "The maximum size (in bytes) of individual pipes that can be set by users "
370 "without the B<CAP_SYS_RESOURCE> capability. The value assigned to this file "
371 "may be rounded upward, to reflect the value actually employed for a "
372 "convenient implementation. To determine the rounded-up value, display the "
373 "contents of this file after assigning a value to it."
374 msgstr ""
375 "Максимальный размер (в байтах) отдельных каналов, который может быть "
376 "установлен пользователем без мандата B<CAP_SYS_RESOURCE>. Значение, "
377 "записываемое в этот файл, может округлиться в большую сторону, отражая "
378 "реальное значение, принятое для удобства реализации. Чтобы определить "
379 "увеличенное значение, прочитайте содержимое этого файла после записи "
380 "значения."
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "The default value for this file is 1048576 (1\\ MiB). The minimum value "
387 "that can be assigned to this file is the system page size. Attempts to set "
388 "a limit less than the page size cause B<write>(2) to fail with the error "
389 "B<EINVAL>."
390 msgstr ""
391 "Значение по умолчанию равно 1048576 (1\\ МиБ). Минимальное значение равно "
392 "размеру системной страницы. При попытке задать меньшее значение вызов "
393 "B<write>(2) завершится ошибкой B<EINVAL>."
394
395 #. commit 086e774a57fba4695f14383c0818994c0b31da7c
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid ""
400 "Since Linux 4.9, the value on this file also acts as a ceiling on the "
401 "default capacity of a new pipe or newly opened FIFO."
402 msgstr ""
403 "Начиная с Linux 4.9 значение в данном файле также служит верхним пределом "
404 "ёмкости по умолчанию для новых каналов или открываемых FIFO."
405
406 #. type: TP
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "I</proc/sys/fs/pipe-user-pages-hard> (since Linux 4.5)"
411 msgstr "I</proc/sys/fs/pipe-user-pages-hard> (начиная с Linux 4.5)"
412
413 #. commit 759c01142a5d0f364a462346168a56de28a80f52
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid ""
418 "The hard limit on the total size (in pages) of all pipes created or set by a "
419 "single unprivileged user (i.e., one with neither the B<CAP_SYS_RESOURCE> nor "
420 "the B<CAP_SYS_ADMIN> capability). So long as the total number of pages "
421 "allocated to pipe buffers for this user is at this limit, attempts to create "
422 "new pipes will be denied, and attempts to increase a pipe's capacity will be "
423 "denied."
424 msgstr ""
425 "Жёсткое ограничение на общий размер (в страницах) всех каналов создаваемых "
426 "или изменяемых одним непривилегированным пользователем (т. е., без мандата "
427 "B<CAP_SYS_RESOURCE> или B<CAP_SYS_ADMIN>). Пока общее количество страниц, "
428 "выделенных под буферы каналов для этого пользователя, равно этому "
429 "ограничению, попытки создать новые каналы будут отклоняться, также как и "
430 "попытки увеличить ёмкость канала."
431
432 #. The default was chosen to avoid breaking existing applications that
433 #. make intensive use of pipes (e.g., for splicing).
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 msgid ""
438 "When the value of this limit is zero (which is the default), no hard limit "
439 "is applied."
440 msgstr ""
441 "Если значение этого ограничения равно нулю (по умолчанию), то жёсткое "
442 "ограничение не применяется."
443
444 #. type: TP
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "I</proc/sys/fs/pipe-user-pages-soft> (since Linux 4.5)"
449 msgstr "I</proc/sys/fs/pipe-user-pages-soft> (начиная с Linux 4.5)"
450
451 #. commit 759c01142a5d0f364a462346168a56de28a80f52
452 #. type: Plain text
453 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
454 #: opensuse-leap-16-1 opensuse-tumbleweed
455 #, fuzzy
456 #| msgid ""
457 #| "The soft limit on the total size (in pages) of all pipes created or set "
458 #| "by a single unprivileged user (i.e., one with neither the "
459 #| "B<CAP_SYS_RESOURCE> nor the B<CAP_SYS_ADMIN> capability). So long as the "
460 #| "total number of pages allocated to pipe buffers for this user is at this "
461 #| "limit, individual pipes created by a user will be limited to one page, "
462 #| "and attempts to increase a pipe's capacity will be denied."
463 msgid ""
464 "The soft limit on the total size (in pages) of all pipes created or set by a "
465 "single unprivileged user (i.e., one with neither the B<CAP_SYS_RESOURCE> nor "
466 "the B<CAP_SYS_ADMIN> capability). So long as the total number of pages "
467 "allocated to pipe buffers for this user is at this limit, individual pipes "
468 "created by a user will be limited to two pages (one page before Linux 5.14), "
469 "and attempts to increase a pipe's capacity will be denied."
470 msgstr ""
471 "Мягкое ограничение на общий размер (в страницах) всех каналов создаваемых "
472 "или изменяемых одним непривилегированным пользователем (т. е., без мандата "
473 "B<CAP_SYS_RESOURCE> или B<CAP_SYS_ADMIN>). Пока общее количество страниц, "
474 "выделенных под буферы каналов для этого пользователя, равно этому "
475 "ограничению, отдельные каналы, создаваемые пользователем, будут ограничены "
476 "одной страницей, а попытки увеличить ёмкость канала будут отклоняться."
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid ""
482 "When the value of this limit is zero, no soft limit is applied. The default "
483 "value for this file is 16384, which permits creating up to 1024 pipes with "
484 "the default capacity."
485 msgstr ""
486 "Если значение этого ограничения равно нулю, то мягкое ограничение не "
487 "применяется. По умолчанию значение в этом файле равно 16384, что позволяет "
488 "создать до 1024 каналов с ёмкостью по умолчанию."
489
490 #. type: Plain text
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 msgid ""
494 "Before Linux 4.9, some bugs affected the handling of the I<pipe-user-pages-"
495 "soft> and I<pipe-user-pages-hard> limits; see BUGS."
496 msgstr ""
497 "До Linux 4.9 имелись дефекты, влияющие на обработку ограничений I<pipe-user-"
498 "pages-soft> и I<pipe-user-pages-hard>; смотрите ДЕФЕКТЫ."
499
500 #. type: SS
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, no-wrap
504 msgid "PIPE_BUF"
505 msgstr "PIPE_BUF"
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, fuzzy
511 #| msgid ""
512 #| "POSIX.1 says that B<write>(2)s of less than B<PIPE_BUF> bytes must be "
513 #| "atomic: the output data is written to the pipe as a contiguous sequence. "
514 #| "Writes of more than B<PIPE_BUF> bytes may be nonatomic: the kernel may "
515 #| "interleave the data with data written by other processes. POSIX.1 "
516 #| "requires B<PIPE_BUF> to be at least 512 bytes. (On Linux, B<PIPE_BUF> is "
517 #| "4096 bytes.) The precise semantics depend on whether the file descriptor "
518 #| "is nonblocking (B<O_NONBLOCK>), whether there are multiple writers to the "
519 #| "pipe, and on I<n>, the number of bytes to be written:"
520 msgid ""
521 "POSIX.1 says that writes of less than B<PIPE_BUF> bytes must be atomic: the "
522 "output data is written to the pipe as a contiguous sequence. Writes of more "
523 "than B<PIPE_BUF> bytes may be nonatomic: the kernel may interleave the data "
524 "with data written by other processes. POSIX.1 requires B<PIPE_BUF> to be at "
525 "least 512 bytes. (On Linux, B<PIPE_BUF> is 4096 bytes.) The precise "
526 "semantics depend on whether the file descriptor is nonblocking "
527 "(B<O_NONBLOCK>), whether there are multiple writers to the pipe, and on "
528 "I<n>, the number of bytes to be written:"
529 msgstr ""
530 "В POSIX.1 указано, что операция B<write>(2) для записи меньше чем "
531 "B<PIPE_BUF> байт должна быть атомарна: выходные данные записываются в канал "
532 "как непрерывная последовательность. Запись более B<PIPE_BUF> байт может быть "
533 "не атомарна: ядро может чередовать данные с данными, записываемыми другими "
534 "процессами. В POSIX.1 требуется, чтобы значение B<PIPE_BUF> было не менее "
535 "512 байт (в Linux, B<PIPE_BUF> равно 4096 байт). Точная семантика зависит от "
536 "вида блокированности файлового дескриптора (B<O_NONBLOCK>), есть ли "
537 "несколько писателей в канала и от I<n>, количества записываемых байт:"
538
539 #. type: TP
540 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
541 #: opensuse-tumbleweed
542 #, fuzzy, no-wrap
543 #| msgid "B<O_NONBLOCK> disabled, I<n> E<lt>= B<PIPE_BUF>"
544 msgid "B<O_NONBLOCK> disabled, \\f[I]n\\fR E<lt>= B<PIPE_BUF>"
545 msgstr "B<O_NONBLOCK> сброшен, I<n> E<lt>= B<PIPE_BUF>"
546
547 #. type: Plain text
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 msgid ""
551 "All I<n> bytes are written atomically; B<write>(2) may block if there is "
552 "not room for I<n> bytes to be written immediately"
553 msgstr ""
554 "Все I<n> байт записываются атомарно; B<write>(2) может заблокироваться, если "
555 "нет места для немедленной записи I<n> байт"
556
557 #. type: TP
558 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
559 #: opensuse-tumbleweed
560 #, fuzzy, no-wrap
561 #| msgid "B<O_NONBLOCK> enabled, I<n> E<lt>= B<PIPE_BUF>"
562 msgid "B<O_NONBLOCK> enabled, \\f[I]n\\fR E<lt>= B<PIPE_BUF>"
563 msgstr "B<O_NONBLOCK> установлен, I<n> E<lt>= B<PIPE_BUF>"
564
565 #. type: Plain text
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 msgid ""
569 "If there is room to write I<n> bytes to the pipe, then B<write>(2) succeeds "
570 "immediately, writing all I<n> bytes; otherwise B<write>(2) fails, with "
571 "I<errno> set to B<EAGAIN>."
572 msgstr ""
573 "Если есть место для записи I<n> байт в канал, то B<write>(2) немедленно "
574 "завершается без ошибки, записывая все I<n> байт; в противном случае "
575 "B<write>(2) завершается с ошибкой, а I<errno> присваивается значение "
576 "B<EAGAIN>."
577
578 #. type: TP
579 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
580 #: opensuse-tumbleweed
581 #, fuzzy, no-wrap
582 #| msgid "B<O_NONBLOCK> disabled, I<n> E<gt> B<PIPE_BUF>"
583 msgid "B<O_NONBLOCK> disabled, \\f[I]n\\fR E<gt> B<PIPE_BUF>"
584 msgstr "B<O_NONBLOCK> сброшен, I<n> E<gt> B<PIPE_BUF>"
585
586 #. type: Plain text
587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
588 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
589 msgid ""
590 "The write is nonatomic: the data given to B<write>(2) may be interleaved "
591 "with B<write>(2)s by other process; the B<write>(2) blocks until I<n> bytes "
592 "have been written."
593 msgstr ""
594 "Запись не атомарна: данные, переданные во B<write>(2), могут чередоваться с "
595 "B<write>(2) из других процессов; B<write>(2) блокируется до тех пор, пока не "
596 "будут записаны I<n> байт."
597
598 #. type: TP
599 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
600 #: opensuse-tumbleweed
601 #, fuzzy, no-wrap
602 #| msgid "B<O_NONBLOCK> enabled, I<n> E<gt> B<PIPE_BUF>"
603 msgid "B<O_NONBLOCK> enabled, \\f[I]n\\fR E<gt> B<PIPE_BUF>"
604 msgstr "B<O_NONBLOCK> установлен, I<n> E<gt> B<PIPE_BUF>"
605
606 #. type: Plain text
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 msgid ""
610 "If the pipe is full, then B<write>(2) fails, with I<errno> set to "
611 "B<EAGAIN>. Otherwise, from 1 to I<n> bytes may be written (i.e., a "
612 "\"partial write\" may occur; the caller should check the return value from "
613 "B<write>(2) to see how many bytes were actually written), and these bytes "
614 "may be interleaved with writes by other processes."
615 msgstr ""
616 "Если канала переполнен, то B<write>(2) завершается с ошибкой, а I<errno> "
617 "присваивается значение B<EAGAIN>. В противном случае, может быть записано "
618 "от 1 до I<n> байт (т. е., может произойти «частичная запись»; вызывающий "
619 "должен проверить возвращаемое значение B<write>(2), чтобы узнать сколько "
620 "байт действительно записано), и эти байты могут чередоваться с данными, "
621 "записанными другими процессами."
622
623 #. type: SS
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 #, no-wrap
627 msgid "Open file status flags"
628 msgstr "Флаги состояния открытого файла"
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid ""
634 "The only open file status flags that can be meaningfully applied to a pipe "
635 "or FIFO are B<O_NONBLOCK> and B<O_ASYNC>."
636 msgstr ""
637 "К каналу и FIFO из флагов состояния открытого файла применимы только "
638 "B<O_NONBLOCK> и B<O_ASYNC>."
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 #| "Setting the B<O_ASYNC> flag for the read end of a pipe causes a signal "
646 #| "(B<SIGIO> by default) to be generated when new input becomes available on "
647 #| "the pipe. The target for delivery of signals must be set using the "
648 #| "B<fcntl>(2) B<F_SETOWN> command. On Linux, B<O_ASYNC> is supported for "
649 #| "pipes and FIFOs only since kernel 2.6."
650 msgid ""
651 "Setting the B<O_ASYNC> flag for the read end of a pipe causes a signal "
652 "(B<SIGIO> by default) to be generated when new input becomes available on "
653 "the pipe. The target for delivery of signals must be set using the "
654 "B<fcntl>(2) B<F_SETOWN> command. On Linux, B<O_ASYNC> is supported for "
655 "pipes and FIFOs only since Linux 2.6."
656 msgstr ""
657 "Установка флага B<O_ASYNC> для чтения от конца канала проводит к генерации "
658 "сигнала (по умолчанию B<SIGIO>) при появлении новых данных в канале. "
659 "Получатель сигнала должен быть указан с помощью команды B<F_SETOWN> вызовом "
660 "B<fcntl>(2). В Linux B<O_ASYNC> поддерживается для каналов и FIFO только "
661 "начиная с ядра версии 2.6."
662
663 #. type: SS
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 #, no-wrap
667 msgid "Portability notes"
668 msgstr "Замечания о переносимости"
669
670 #. type: Plain text
671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
673 msgid ""
674 "On some systems (but not Linux), pipes are bidirectional: data can be "
675 "transmitted in both directions between the pipe ends. POSIX.1 requires only "
676 "unidirectional pipes. Portable applications should avoid reliance on "
677 "bidirectional pipe semantics."
678 msgstr ""
679 "В некоторых системах (но не в Linux), каналы являются двунаправленными: "
680 "данные можно передавать в обоих направлениях между концами канала. Согласно "
681 "POSIX.1 требуются только однонаправленные каналы. Переносимые приложения не "
682 "должны зависеть от семантики двунаправленных каналов."
683
684 #. type: SS
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 #, no-wrap
688 msgid "BUGS"
689 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
690
691 #. These bugs where remedied by a series of patches, in particular,
692 #. commit b0b91d18e2e97b741b294af9333824ecc3fadfd8 and
693 #. commit a005ca0e6813e1d796a7422a7e31d8b8d6555df1
694 #. type: Plain text
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 msgid ""
698 "Before Linux 4.9, some bugs affected the handling of the I<pipe-user-pages-"
699 "soft> and I<pipe-user-pages-hard> limits when using the B<fcntl>(2) "
700 "B<F_SETPIPE_SZ> operation to change a pipe's capacity:"
701 msgstr ""
702 "До Linux 4.9 имелись дефекты, влияющие на обработку ограничений I<pipe-user-"
703 "pages-soft> и I<pipe-user-pages-hard> при операции B<fcntl>(2) "
704 "B<F_SETPIPE_SZ> по изменению ёмкости канала:"
705
706 #. type: IP
707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
709 #, no-wrap
710 msgid "(a)"
711 msgstr "(а)"
712
713 #. type: Plain text
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 msgid ""
717 "When increasing the pipe capacity, the checks against the soft and hard "
718 "limits were made against existing consumption, and excluded the memory "
719 "required for the increased pipe capacity. The new increase in pipe capacity "
720 "could then push the total memory used by the user for pipes (possibly far) "
721 "over a limit. (This could also trigger the problem described next.)"
722 msgstr ""
723 "При увеличении ёмкости канала, проверки мягких и жёстких ограничений "
724 "делались по существующему потреблению и не включали память, требуемую для "
725 "увеличения ёмкости канала. Новое увеличение ёмкости канала в последствии "
726 "могло превысить ограничение на общее количество памяти, используемой "
727 "пользователем для каналов (это могло также вызвать проблему, описанную "
728 "далее)."
729
730 #. type: Plain text
731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
733 msgid ""
734 "Starting with Linux 4.9, the limit checking includes the memory required for "
735 "the new pipe capacity."
736 msgstr ""
737 "Начиная с Linux 4.9 при проверке ограничения добавляется память, требуемая "
738 "под ёмкость нового канала."
739
740 #. type: IP
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 #, no-wrap
744 msgid "(b)"
745 msgstr "(б)"
746
747 #. type: Plain text
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 msgid ""
751 "The limit checks were performed even when the new pipe capacity was less "
752 "than the existing pipe capacity. This could lead to problems if a user set "
753 "a large pipe capacity, and then the limits were lowered, with the result "
754 "that the user could no longer decrease the pipe capacity."
755 msgstr ""
756 "Проверки ограничения выполнялись даже, когда ёмкость нового канала была "
757 "меньше чем ёмкость существующего канала. Это могло привести к проблемам, "
758 "если пользователь устанавливал большую ёмкость канала, а затем ограничения "
759 "снижались, и в результате этого пользователь больше не мог уменьшить ёмкость "
760 "канала."
761
762 #. type: Plain text
763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
765 msgid ""
766 "Starting with Linux 4.9, checks against the limits are performed only when "
767 "increasing a pipe's capacity; an unprivileged user can always decrease a "
768 "pipe's capacity."
769 msgstr ""
770 "Начиная с Linux 4.9 проверки ограничений выполняются только когда ёмкость "
771 "канала увеличивается; непривилегированный пользователь всегда может "
772 "уменьшить ёмкость канала."
773
774 #. type: IP
775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
777 #, no-wrap
778 msgid "(c)"
779 msgstr "(в)"
780
781 #. type: Plain text
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 msgid "The accounting and checking against the limits were done as follows:"
785 msgstr "Учёт и проверка ограничений выполнялись следующим образом:"
786
787 #. type: IP
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 #, no-wrap
791 msgid "(1)"
792 msgstr "(1)"
793
794 #. type: Plain text
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 msgid "Test whether the user has exceeded the limit."
798 msgstr "Выполнялась проверка не превышает ли пользователь ограничение."
799
800 #. type: IP
801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
803 #, no-wrap
804 msgid "(2)"
805 msgstr "(2)"
806
807 #. type: Plain text
808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
810 msgid "Make the new pipe buffer allocation."
811 msgstr "Выделялся буфер под новый канал."
812
813 #. type: IP
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 #, no-wrap
817 msgid "(3)"
818 msgstr "(3)"
819
820 #. type: Plain text
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 msgid "Account new allocation against the limits."
824 msgstr "Учитывалось новое выделение в ограничениях."
825
826 #. type: Plain text
827 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
828 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
829 #, fuzzy
830 #| msgid ""
831 #| "This was racey. Multiple processes could pass point (a) simultaneously, "
832 #| "and then allocate pipe buffers that were accounted for only in step (c), "
833 #| "with the result that the user's pipe buffer allocation could be pushed "
834 #| "over the limit."
835 msgid ""
836 "This was racey. Multiple processes could pass point (1) simultaneously, and "
837 "then allocate pipe buffers that were accounted for only in step (3), with "
838 "the result that the user's pipe buffer allocation could be pushed over the "
839 "limit."
840 msgstr ""
841 "Это приводило к появлению состязательности. Несколько процессов могли пройти "
842 "пункт (а) одновременно и затем выделить буферы канала, которое учитывалось "
843 "только в шаге (в), что приводило к превышению пользовательского ограничения "
844 "размера выделения буферов под канал."
845
846 #. type: Plain text
847 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
848 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
849 msgid ""
850 "Starting with Linux 4.9, the accounting step is performed before doing the "
851 "allocation, and the operation fails if the limit would be exceeded."
852 msgstr ""
853 "Начиная с Linux 4.9, шаг учёта выполняется до выделения и операция "
854 "завершается с ошибкой, если бы было превышение ограничения."
855
856 #. type: Plain text
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 #, fuzzy
860 #| msgid ""
861 #| "Before Linux 4.9, bugs similar to points (1) and (3) could also occur "
862 #| "when the kernel allocated memory for a new pipe buffer; that is, when "
863 #| "calling B<pipe>(2) and when opening a previously unopened FIFO."
864 msgid ""
865 "Before Linux 4.9, bugs similar to points (a) and (c) could also occur when "
866 "the kernel allocated memory for a new pipe buffer; that is, when calling "
867 "B<pipe>(2) and when opening a previously unopened FIFO."
868 msgstr ""
869 "До Linux 4.9, дефекты подобные (1) и (3), также могли происходить, когда "
870 "ядро выделяет память под буферы нового канала; то есть, когда вызывается "
871 "B<pipe>(2) и когда открывается ранее не открытый FIFO."
872
873 #. type: SH
874 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
875 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
876 #, no-wrap
877 msgid "SEE ALSO"
878 msgstr "СМОТРИТЕ ТАКЖЕ"
879
880 #. type: Plain text
881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
883 msgid ""
884 "B<mkfifo>(1), B<dup>(2), B<fcntl>(2), B<open>(2), B<pipe>(2), B<poll>(2), "
885 "B<select>(2), B<socketpair>(2), B<splice>(2), B<stat>(2), B<tee>(2), "
886 "B<vmsplice>(2), B<mkfifo>(3), B<epoll>(7), B<fifo>(7)"
887 msgstr ""
888 "B<mkfifo>(1), B<dup>(2), B<fcntl>(2), B<open>(2), B<pipe>(2), B<poll>(2), "
889 "B<select>(2), B<socketpair>(2), B<splice>(2), B<stat>(2), B<tee>(2), "
890 "B<vmsplice>(2), B<mkfifo>(3), B<epoll>(7), B<fifo>(7)"
891
892 #. type: TH
893 #: debian-trixie
894 #, no-wrap
895 msgid "2024-05-02"
896 msgstr "2 мая 2024 г."
897
898 #. type: TH
899 #: debian-trixie
900 #, no-wrap
901 msgid "Linux man-pages 6.9.1"
902 msgstr "Страницы руководства Linux 6.9.1"
903
904 #. type: Plain text
905 #: debian-trixie
906 #, fuzzy
907 #| msgid ""
908 #| "In Linux versions before 2.6.11, the capacity of a pipe was the same as "
909 #| "the system page size (e.g., 4096 bytes on i386). Since Linux 2.6.11, the "
910 #| "pipe capacity is 16 pages (i.e., 65,536 bytes in a system with a page "
911 #| "size of 4096 bytes). Since Linux 2.6.35, the default pipe capacity is 16 "
912 #| "pages, but the capacity can be queried and set using the B<fcntl>(2) "
913 #| "B<F_GETPIPE_SZ> and B<F_SETPIPE_SZ> operations. See B<fcntl>(2) for "
914 #| "more information."
915 msgid ""
916 "Before Linux 2.6.11, the capacity of a pipe was the same as the system page "
917 "size (e.g., 4096 bytes on i386). Since Linux 2.6.11, the pipe capacity is "
918 "16 pages (i.e., 65,536 bytes in a system with a page size of 4096 bytes). "
919 "Since Linux 2.6.35, the default pipe capacity is 16 pages, but the capacity "
920 "can be queried and set using the B<fcntl>(2) B<F_GETPIPE_SZ> and "
921 "B<F_SETPIPE_SZ> operations. See B<fcntl>(2) for more information."
922 msgstr ""
923 "В Linux до версии 2.6.11, ёмкость канала была равна размеру системной "
924 "страницы (4096 байт на i386). Начиная с Linux 2.6.11, ёмкость канала равна "
925 "16 страницам (т. е., 65536 байтам в системе с размером страницы в 4096 "
926 "байта). Начиная с Linux 2.6.35, ёмкость канала по умолчанию равна 16 "
927 "страницам, но это значение можно прочитать и изменить с помощью вызова "
928 "B<fcntl>(2) с операциями B<F_GETPIPE_SZ> и B<F_SETPIPE_SZ>. Подробности "
929 "смотрите в B<fcntl>(2)."
930
931 #. commit 759c01142a5d0f364a462346168a56de28a80f52
932 #. type: Plain text
933 #: debian-trixie
934 msgid ""
935 "The soft limit on the total size (in pages) of all pipes created or set by a "
936 "single unprivileged user (i.e., one with neither the B<CAP_SYS_RESOURCE> nor "
937 "the B<CAP_SYS_ADMIN> capability). So long as the total number of pages "
938 "allocated to pipe buffers for this user is at this limit, individual pipes "
939 "created by a user will be limited to one page, and attempts to increase a "
940 "pipe's capacity will be denied."
941 msgstr ""
942 "Мягкое ограничение на общий размер (в страницах) всех каналов создаваемых "
943 "или изменяемых одним непривилегированным пользователем (т. е., без мандата "
944 "B<CAP_SYS_RESOURCE> или B<CAP_SYS_ADMIN>). Пока общее количество страниц, "
945 "выделенных под буферы каналов для этого пользователя, равно этому "
946 "ограничению, отдельные каналы, создаваемые пользователем, будут ограничены "
947 "одной страницей, а попытки увеличить ёмкость канала будут отклоняться."
948
949 #. type: TP
950 #: debian-trixie fedora-44 fedora-rawhide
951 #, no-wrap
952 msgid "B<O_NONBLOCK> disabled, I<n> E<lt>= B<PIPE_BUF>"
953 msgstr "B<O_NONBLOCK> сброшен, I<n> E<lt>= B<PIPE_BUF>"
954
955 #. type: TP
956 #: debian-trixie fedora-44 fedora-rawhide
957 #, no-wrap
958 msgid "B<O_NONBLOCK> enabled, I<n> E<lt>= B<PIPE_BUF>"
959 msgstr "B<O_NONBLOCK> установлен, I<n> E<lt>= B<PIPE_BUF>"
960
961 #. type: TP
962 #: debian-trixie fedora-44 fedora-rawhide
963 #, no-wrap
964 msgid "B<O_NONBLOCK> disabled, I<n> E<gt> B<PIPE_BUF>"
965 msgstr "B<O_NONBLOCK> сброшен, I<n> E<gt> B<PIPE_BUF>"
966
967 #. type: TP
968 #: debian-trixie fedora-44 fedora-rawhide
969 #, no-wrap
970 msgid "B<O_NONBLOCK> enabled, I<n> E<gt> B<PIPE_BUF>"
971 msgstr "B<O_NONBLOCK> установлен, I<n> E<gt> B<PIPE_BUF>"
972
973 #. type: TH
974 #: fedora-44 fedora-rawhide
975 #, no-wrap
976 msgid "2024-08-29"
977 msgstr "29 августа 2024 г."
978
979 #. type: TH
980 #: fedora-44 fedora-rawhide
981 #, no-wrap
982 msgid "Linux man-pages 6.13"
983 msgstr "Страницы руководства Linux 6.13"
984
985 #. type: TH
986 #: mageia-cauldron
987 #, no-wrap
988 msgid "Linux man-pages 6.17"
989 msgstr "Страницы руководства Linux 6.17"
990
991 #. type: TH
992 #: opensuse-leap-16-1 opensuse-tumbleweed
993 #, no-wrap
994 msgid "Linux man-pages (unreleased)"
995 msgstr "Страницы руководства Linux (не выпущены)"