Debian Codegraph @

po/ru/archive/man2/ioctl_ficlonerange.2.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 # Azamat Hackimov <[email protected]>, 2013-2014, 2017.
5 # Dmitriy S. Seregin <[email protected]>, 2013.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017, 2019.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2025-08-10 07:53+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
13 "Last-Translator: Yuri Kozlov <[email protected]>\n"
14 "Language-Team: Russian <[email protected]>\n"
15 "Language: ru\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
21 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
22 "X-Generator: Lokalize 2.0\n"
23
24 #. type: TH
25 #: mageia-cauldron
26 #, no-wrap
27 msgid "ioctl_ficlonerange"
28 msgstr "ioctl_ficlonerange"
29
30 #. type: TH
31 #: mageia-cauldron
32 #, no-wrap
33 msgid "2023-10-31"
34 msgstr "31 октября 2023 г."
35
36 #. type: TH
37 #: mageia-cauldron
38 #, no-wrap
39 msgid "Linux man-pages 6.06"
40 msgstr "Справочные страницы Linux 6.06"
41
42 #. type: SH
43 #: mageia-cauldron
44 #, no-wrap
45 msgid "NAME"
46 msgstr "НАИМЕНОВАНИЕ"
47
48 #. type: Plain text
49 #: mageia-cauldron
50 msgid ""
51 "ioctl_ficlonerange, ioctl_ficlone - share some the data of one file with "
52 "another file"
53 msgstr ""
54 "ioctl_ficlonerange, ioctl_ficlone - сделать некоторые данные одного файла "
55 "общими с другим файлом"
56
57 #. type: SH
58 #: mageia-cauldron
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "БИБЛИОТЕКА"
62
63 #. type: Plain text
64 #: mageia-cauldron
65 msgid "Standard C library (I<libc>, I<-lc>)"
66 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
67
68 #. type: SH
69 #: mageia-cauldron
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "ОБЗОР"
73
74 #. type: Plain text
75 #: mageia-cauldron
76 #, no-wrap
77 msgid ""
78 "B<#include E<lt>linux/fs.hE<gt>> /* Definition of B<FICLONE*> constants */\n"
79 "B<#include E<lt>sys/ioctl.hE<gt>>\n"
80 msgstr ""
81 "B<#include E<lt>linux/fs.hE<gt>> /* определения констант B<FICLONE*> */\n"
82 "B<#include E<lt>sys/ioctl.hE<gt>>\n"
83
84 #. type: Plain text
85 #: mageia-cauldron
86 #, no-wrap
87 msgid ""
88 "B<int ioctl(int >I<dest_fd>B<, FICLONERANGE, struct file_clone_range *>I<arg>B<);>\n"
89 "B<int ioctl(int >I<dest_fd>B<, FICLONE, int >I<src_fd>B<);>\n"
90 msgstr ""
91 "B<int ioctl(int >I<dest_fd>B<, FICLONERANGE, struct file_clone_range *>I<arg>B<);>\n"
92 "B<int ioctl(int >I<dest_fd>B<, FICLONE, int >I<src_fd>B<);>\n"
93
94 #. type: SH
95 #: mageia-cauldron
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "ОПИСАНИЕ"
99
100 #. type: Plain text
101 #: mageia-cauldron
102 msgid ""
103 "If a filesystem supports files sharing physical storage between multiple "
104 "files (\"reflink\"), this B<ioctl>(2) operation can be used to make some of "
105 "the data in the I<src_fd> file appear in the I<dest_fd> file by sharing the "
106 "underlying storage, which is faster than making a separate physical copy of "
107 "the data. Both files must reside within the same filesystem. If a file "
108 "write should occur to a shared region, the filesystem must ensure that the "
109 "changes remain private to the file being written. This behavior is commonly "
110 "referred to as \"copy on write\"."
111 msgstr ""
112 "Если файловая система поддерживает общее файловое физическое хранилище для "
113 "файлов («reflink»), то эту операцию B<ioctl>(2) можно использовать для того, "
114 "чтобы часть данных файла I<src_fd> появилась в файле I<dest_fd> в виде "
115 "общего пространства на носителе, что быстрее по сравнению с созданием "
116 "отдельной физической копии данных. Оба файла должны располагаться в одной "
117 "файловой системе. Если выполняется запись в эту общую область, то файловая "
118 "система должна гарантировать, что изменения будут видны только в файле, в "
119 "который производится запись. Такое поведение часто называют как «копирование "
120 "при записи» (copy on write)."
121
122 #. type: Plain text
123 #: mageia-cauldron
124 msgid ""
125 "This ioctl reflinks up to I<src_length> bytes from file descriptor I<src_fd> "
126 "at offset I<src_offset> into the file I<dest_fd> at offset I<dest_offset>, "
127 "provided that both are files. If I<src_length> is zero, the ioctl reflinks "
128 "to the end of the source file. This information is conveyed in a structure "
129 "of the following form:"
130 msgstr ""
131 "Данный ioctl создаёт ссылку (reflink) на не более I<src_length> байт из "
132 "файлового дескриптора I<src_fd> по смещению I<src_offset> в файл I<dest_fd> "
133 "по смещению I<dest_offset>, предоставляя её обоим файлам. Если I<src_length> "
134 "равно нулю, то ioctl делает ссылку на конец файла-источника. Данная "
135 "информация передаётся в структуре следующего вида:"
136
137 #. type: Plain text
138 #: mageia-cauldron
139 #, no-wrap
140 msgid ""
141 "struct file_clone_range {\n"
142 " __s64 src_fd;\n"
143 " __u64 src_offset;\n"
144 " __u64 src_length;\n"
145 " __u64 dest_offset;\n"
146 "};\n"
147 msgstr ""
148 "struct file_clone_range {\n"
149 " __s64 src_fd;\n"
150 " __u64 src_offset;\n"
151 " __u64 src_length;\n"
152 " __u64 dest_offset;\n"
153 "};\n"
154
155 #. type: Plain text
156 #: mageia-cauldron
157 msgid ""
158 "Clones are atomic with regards to concurrent writes, so no locks need to be "
159 "taken to obtain a consistent cloned copy."
160 msgstr ""
161 "Клоны атомарны для одновременной записи, поэтому для получения корректной "
162 "копии не нужно получать блокировки."
163
164 #. type: Plain text
165 #: mageia-cauldron
166 msgid "The B<FICLONE> ioctl clones entire files."
167 msgstr "Операция B<FICLONE> ioctl клонирует файлы полностью."
168
169 #. type: SH
170 #: mageia-cauldron
171 #, no-wrap
172 msgid "RETURN VALUE"
173 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
174
175 #. type: Plain text
176 #: mageia-cauldron
177 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
178 msgstr ""
179 "В случае ошибки возвращается -1, а I<errno> устанавливается в значение "
180 "ошибки."
181
182 #. type: SH
183 #: mageia-cauldron
184 #, no-wrap
185 msgid "ERRORS"
186 msgstr "ОШИБКИ"
187
188 #. type: Plain text
189 #: mageia-cauldron
190 msgid "Error codes can be one of, but are not limited to, the following:"
191 msgstr "Возможные коды ошибок (помимо прочих):"
192
193 #. type: TP
194 #: mageia-cauldron
195 #, no-wrap
196 msgid "B<EBADF>"
197 msgstr "B<EBADF>"
198
199 #. type: Plain text
200 #: mageia-cauldron
201 msgid ""
202 "I<src_fd> is not open for reading; I<dest_fd> is not open for writing or is "
203 "open for append-only writes; or the filesystem which I<src_fd> resides on "
204 "does not support reflink."
205 msgstr ""
206 "Дескриптор I<src_fd> не открыт на чтение; I<dest_fd> не открыт на запись или "
207 "открыт только для добавления; файловая система, в которой находится "
208 "I<src_fd>, не поддерживает reflink."
209
210 #. type: TP
211 #: mageia-cauldron
212 #, no-wrap
213 msgid "B<EINVAL>"
214 msgstr "B<EINVAL>"
215
216 #. type: Plain text
217 #: mageia-cauldron
218 msgid ""
219 "The filesystem does not support reflinking the ranges of the given files. "
220 "This error can also appear if either file descriptor represents a device, "
221 "FIFO, or socket. Disk filesystems generally require the offset and length "
222 "arguments to be aligned to the fundamental block size. XFS and Btrfs do not "
223 "support overlapping reflink ranges in the same file."
224 msgstr ""
225 "Файловая система не поддерживает создание ссылок диапазонов в заданных "
226 "файлах. Эта ошибка также может возникнуть, если файловый дескриптор "
227 "представляет устройство, FIFO или сокет. Обычно, для дисковых файловых "
228 "систем требуются, чтобы аргументы смещения и длины были выровнены по "
229 "основному размеру блока. В XFS и Btrfs нет поддержки ссылок перекрывающихся "
230 "диапазонов в одном и том же файле."
231
232 #. type: TP
233 #: mageia-cauldron
234 #, no-wrap
235 msgid "B<EISDIR>"
236 msgstr "B<EISDIR>"
237
238 #. type: Plain text
239 #: mageia-cauldron
240 msgid ""
241 "One of the files is a directory and the filesystem does not support shared "
242 "regions in directories."
243 msgstr ""
244 "Один из файлов является каталогом и файловая система не поддерживает "
245 "диапазоны для каталогов."
246
247 #. type: TP
248 #: mageia-cauldron
249 #, no-wrap
250 msgid "B<EOPNOTSUPP>"
251 msgstr "B<EOPNOTSUPP>"
252
253 #. type: Plain text
254 #: mageia-cauldron
255 msgid ""
256 "This can appear if the filesystem does not support reflinking either file "
257 "descriptor, or if either file descriptor refers to special inodes."
258 msgstr ""
259 "Может возникать, если файловая система не поддерживает ссылки для файловых "
260 "дескрипторов или когда файловый дескриптор ссылается на специальные иноды."
261
262 #. type: TP
263 #: mageia-cauldron
264 #, no-wrap
265 msgid "B<EPERM>"
266 msgstr "B<EPERM>"
267
268 #. type: Plain text
269 #: mageia-cauldron
270 msgid "I<dest_fd> is immutable."
271 msgstr "Дескриптор I<dest_fd> является неизменным."
272
273 #. type: TP
274 #: mageia-cauldron
275 #, no-wrap
276 msgid "B<ETXTBSY>"
277 msgstr "B<ETXTBSY>"
278
279 #. type: Plain text
280 #: mageia-cauldron
281 msgid "One of the files is a swap file. Swap files cannot share storage."
282 msgstr ""
283 "Один из файлов является файлом подкачки. Файлы подкачки не могут содержаться "
284 "в совместных хранилищах."
285
286 #. type: TP
287 #: mageia-cauldron
288 #, no-wrap
289 msgid "B<EXDEV>"
290 msgstr "B<EXDEV>"
291
292 #. type: Plain text
293 #: mageia-cauldron
294 msgid "I<dest_fd> and I<src_fd> are not on the same mounted filesystem."
295 msgstr ""
296 "Дескрипторы I<dest_fd> и I<src_fd> находятся на разных смонтированных "
297 "файловых системах."
298
299 #. type: SH
300 #: mageia-cauldron
301 #, no-wrap
302 msgid "STANDARDS"
303 msgstr "СТАНДАРТЫ"
304
305 #. type: Plain text
306 #: mageia-cauldron
307 msgid "Linux."
308 msgstr "Linux."
309
310 #. type: SH
311 #: mageia-cauldron
312 #, no-wrap
313 msgid "HISTORY"
314 msgstr "ИСТОРИЯ"
315
316 #. type: Plain text
317 #: mageia-cauldron
318 msgid "Linux 4.5."
319 msgstr "Linux 4.5."
320
321 #. type: Plain text
322 #: mageia-cauldron
323 msgid ""
324 "They were previously known as B<BTRFS_IOC_CLONE> and "
325 "B<BTRFS_IOC_CLONE_RANGE>, and were private to Btrfs."
326 msgstr ""
327 "Ранее они были известны как B<BTRFS_IOC_CLONE> и B<BTRFS_IOC_CLONE_RANGE> и "
328 "были частными для Btrfs."
329
330 #. type: SH
331 #: mageia-cauldron
332 #, no-wrap
333 msgid "NOTES"
334 msgstr "ПРИМЕЧАНИЯ"
335
336 #. type: Plain text
337 #: mageia-cauldron
338 msgid ""
339 "Because a copy-on-write operation requires the allocation of new storage, "
340 "the B<fallocate>(2) operation may unshare shared blocks to guarantee that "
341 "subsequent writes will not fail because of lack of disk space."
342 msgstr ""
343 "Так как для операции копирования-при-записи требуется выделение нового "
344 "пространства в хранилище, операция B<fallocate>(2) может отменить совместное "
345 "использование общих блоков для гарантии того, что последующие операции "
346 "записи не завершатся ошибкой из-за нехватки места на диске."
347
348 #. type: SH
349 #: mageia-cauldron
350 #, no-wrap
351 msgid "SEE ALSO"
352 msgstr "СМОТРИТЕ ТАКЖЕ"
353
354 #. type: Plain text
355 #: mageia-cauldron
356 msgid "B<ioctl>(2)"
357 msgstr "B<ioctl>(2)"