Debian Codegraph @

po/ru/archive/man2/ioctl_fideduperange.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_fideduperange"
28 msgstr "ioctl_fideduperange"
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 "ioctl_fideduperange - share some the data of one file with another file"
51 msgstr ""
52 "ioctl_ficlonerange - сделать некоторые данные одного файла общими с другим "
53 "файлом"
54
55 #. type: SH
56 #: mageia-cauldron
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "БИБЛИОТЕКА"
60
61 #. type: Plain text
62 #: mageia-cauldron
63 msgid "Standard C library (I<libc>, I<-lc>)"
64 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
65
66 #. type: SH
67 #: mageia-cauldron
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr "ОБЗОР"
71
72 #. type: Plain text
73 #: mageia-cauldron
74 #, fuzzy, no-wrap
75 #| msgid ""
76 #| "B<#include E<lt>fcntl.hE<gt> >/* Definition of AT_* constants */\n"
77 #| "B<#include E<lt>sys/stat.hE<gt>>\n"
78 msgid ""
79 "B<#include E<lt>linux/fs.hE<gt>> /* Definition of B<FIDEDUPERANGE> and\n"
80 "B< FILE_DEDUPE_* >constantsB<*/>\n"
81 "B<#include E<lt>sys/ioctl.hE<gt>>\n"
82 msgstr ""
83 "B<#include E<lt>fcntl.hE<gt> >/* определения констант AT_* */\n"
84 "B<#include E<lt>sys/stat.hE<gt>>\n"
85
86 #. type: Plain text
87 #: mageia-cauldron
88 #, no-wrap
89 msgid "B<int ioctl(int >I<src_fd>B<, FIDEDUPERANGE, struct file_dedupe_range *>I<arg>B<);>\n"
90 msgstr "B<int ioctl(int >I<src_fd>B<, FIDEDUPERANGE, struct file_dedupe_range *>I<arg>B<);>\n"
91
92 #. type: SH
93 #: mageia-cauldron
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "ОПИСАНИЕ"
97
98 #. type: Plain text
99 #: mageia-cauldron
100 msgid ""
101 "If a filesystem supports files sharing physical storage between multiple "
102 "files, this B<ioctl>(2) operation can be used to make some of the data in "
103 "the B<src_fd> file appear in the B<dest_fd> file by sharing the underlying "
104 "storage if the file data is identical (\"deduplication\"). Both files must "
105 "reside within the same filesystem. This reduces storage consumption by "
106 "allowing the filesystem to store one shared copy of the data. If a file "
107 "write should occur to a shared region, the filesystem must ensure that the "
108 "changes remain private to the file being written. This behavior is commonly "
109 "referred to as \"copy on write\"."
110 msgstr ""
111 "Если файловая система поддерживает общее файловое физическое хранилище между "
112 "несколькими файлами, то эту операцию B<ioctl>(2) можно использовать для "
113 "того, чтобы часть данных файла I<src_fd> появилась в файле I<dest_fd> в виде "
114 "общего пространства на носителе, если данные файлов одинаковы "
115 "(«дедупликация», deduplication). Оба файла должны располагаться в одной "
116 "файловой системе. Это сокращает затраты на место, позволяя хранить в "
117 "файловой системе только одну копию данных.Если выполняется запись в эту "
118 "общую область, то файловая система должна гарантировать, что изменения будут "
119 "видны только в файле, в который производится запись. Такое поведение часто "
120 "называют как «копирование при записи» (copy on write)."
121
122 #. type: Plain text
123 #: mageia-cauldron
124 msgid ""
125 "This ioctl performs the \"compare and share if identical\" operation on up "
126 "to I<src_length> bytes from file descriptor I<src_fd> at offset "
127 "I<src_offset>. This information is conveyed in a structure of the following "
128 "form:"
129 msgstr ""
130 "Данный ioctl выполняет операцию «сравнения и создания общей области при "
131 "совпадении» с не более I<src_length> байт из файлового дескриптора I<src_fd> "
132 "по смещению I<src_offset>. Данная информация передаётся в структуре "
133 "следующего вида:"
134
135 #. type: Plain text
136 #: mageia-cauldron
137 #, no-wrap
138 msgid ""
139 "struct file_dedupe_range {\n"
140 " __u64 src_offset;\n"
141 " __u64 src_length;\n"
142 " __u16 dest_count;\n"
143 " __u16 reserved1;\n"
144 " __u32 reserved2;\n"
145 " struct file_dedupe_range_info info[0];\n"
146 "};\n"
147 msgstr ""
148 "struct file_dedupe_range {\n"
149 " __u64 src_offset;\n"
150 " __u64 src_length;\n"
151 " __u16 dest_count;\n"
152 " __u16 reserved1;\n"
153 " __u32 reserved2;\n"
154 " struct file_dedupe_range_info info[0];\n"
155 "};\n"
156
157 #. type: Plain text
158 #: mageia-cauldron
159 msgid ""
160 "Deduplication is atomic with regards to concurrent writes, so no locks need "
161 "to be taken to obtain a consistent deduplicated copy."
162 msgstr ""
163 "Дедупликация атомарна для одновременной записи, поэтому для получения "
164 "корректной дедуплицированной копии не нужно получать блокировки."
165
166 #. type: Plain text
167 #: mageia-cauldron
168 msgid "The fields I<reserved1> and I<reserved2> must be zero."
169 msgstr "Поля I<reserved1> и I<reserved2> должны быть равны нулю."
170
171 #. type: Plain text
172 #: mageia-cauldron
173 msgid ""
174 "Destinations for the deduplication operation are conveyed in the array at "
175 "the end of the structure. The number of destinations is given in "
176 "I<dest_count>, and the destination information is conveyed in the following "
177 "form:"
178 msgstr ""
179 "Назначения для операции дедупликации передаются в массиве в конце структуры. "
180 "Количество назначений задаётся в I<dest_count>, а информация о назначении "
181 "задаётся в следующем виде:"
182
183 #. type: Plain text
184 #: mageia-cauldron
185 #, no-wrap
186 msgid ""
187 "struct file_dedupe_range_info {\n"
188 " __s64 dest_fd;\n"
189 " __u64 dest_offset;\n"
190 " __u64 bytes_deduped;\n"
191 " __s32 status;\n"
192 " __u32 reserved;\n"
193 "};\n"
194 msgstr ""
195 "struct file_dedupe_range_info {\n"
196 " __s64 dest_fd;\n"
197 " __u64 dest_offset;\n"
198 " __u64 bytes_deduped;\n"
199 " __s32 status;\n"
200 " __u32 reserved;\n"
201 "};\n"
202
203 #. type: Plain text
204 #: mageia-cauldron
205 #, fuzzy
206 #| msgid ""
207 #| "Each deduplication operation targets I<src_length> bytes in file "
208 #| "descriptor I<dest_fd> at offset I<dest_offset>. The field I<reserved> "
209 #| "must be zero. During the call, I<src_fd> must be open for reading and "
210 #| "I<dest_fd> must be open for writing. The combined size of the struct "
211 #| "I<file_dedupe_range> and the struct I<file_dedupe_range_info> array must "
212 #| "not exceed the system page size. The maximum size of I<src_length> is "
213 #| "filesystem dependent and is typically 16\\~MiB. This limit will be "
214 #| "enforced silently by the filesystem. By convention, the storage used by "
215 #| "I<src_fd> is mapped into I<dest_fd> and the previous contents in "
216 #| "I<dest_fd> are freed."
217 msgid ""
218 "Each deduplication operation targets I<src_length> bytes in file descriptor "
219 "I<dest_fd> at offset I<dest_offset>. The field I<reserved> must be zero. "
220 "During the call, I<src_fd> must be open for reading and I<dest_fd> must be "
221 "open for writing. The combined size of the struct I<file_dedupe_range> and "
222 "the struct I<file_dedupe_range_info> array must not exceed the system page "
223 "size. The maximum size of I<src_length> is filesystem dependent and is "
224 "typically 16\\ MiB. This limit will be enforced silently by the "
225 "filesystem. By convention, the storage used by I<src_fd> is mapped into "
226 "I<dest_fd> and the previous contents in I<dest_fd> are freed."
227 msgstr ""
228 "Целью каждой операции дедупликации является I<src_length> байт в файловом "
229 "дескрипторе I<dest_fd> со смещением I<logical_offset>. Поле I<reserved> "
230 "должно быть равно нулю.На момент вызова I<src_fd> должен быть открыт на "
231 "чтение и, I<dest_fd> должен быть открыт на запись. Сумма размеров структуры "
232 "I<file_dedupe_range> и массива структур I<file_dedupe_range_info> не должна "
233 "превышать системный размер страницы. Максимальный размер I<src_length> "
234 "зависит от файловой системы и, обычно равен 16\\~МиБ. Это ограничение будет "
235 "невидимо соблюдаться файловой системой. По соглашению, хранилище, "
236 "используемое I<src_fd>, отображается в I<dest_fd>, а предыдущее содержимое в "
237 "I<dest_fd> освобождается."
238
239 #. type: Plain text
240 #: mageia-cauldron
241 msgid ""
242 "Upon successful completion of this ioctl, the number of bytes successfully "
243 "deduplicated is returned in I<bytes_deduped> and a status code for the "
244 "deduplication operation is returned in I<status>. If even a single byte in "
245 "the range does not match, the deduplication request will be ignored and "
246 "I<status> set to B<FILE_DEDUPE_RANGE_DIFFERS>. The I<status> code is set to "
247 "B<FILE_DEDUPE_RANGE_SAME> for success, a negative error code in case of "
248 "error, or B<FILE_DEDUPE_RANGE_DIFFERS> if the data did not match."
249 msgstr ""
250 "При успешном выполнении ioctl в I<bytes_deduped> возвращается количество "
251 "дедуплицированных байт, а в I<status> — код состояния операции дедупликации. "
252 "Если не совпадает даже один байт из диапазона, то запрос дедупликации будет "
253 "проигнорирован и I<status> будет присвоено B<FILE_DEDUPE_RANGE_DIFFERS>. При "
254 "успешном выполнении код I<status> изменяется на B<FILE_DEDUPE_RANGE_SAME>, "
255 "при ошибке — отрицательное значение кода, или B<FILE_DEDUPE_RANGE_DIFFERS>, "
256 "если данные не совпадают."
257
258 #. type: SH
259 #: mageia-cauldron
260 #, no-wrap
261 msgid "RETURN VALUE"
262 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
263
264 #. type: Plain text
265 #: mageia-cauldron
266 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
267 msgstr ""
268 "В случае ошибки возвращается -1, а I<errno> устанавливается в значение "
269 "ошибки."
270
271 #. type: SH
272 #: mageia-cauldron
273 #, no-wrap
274 msgid "ERRORS"
275 msgstr "ОШИБКИ"
276
277 #. type: Plain text
278 #: mageia-cauldron
279 msgid "Possible errors include (but are not limited to) the following:"
280 msgstr "Возможные ошибки включают (но не ограничиваются) следующее:"
281
282 #. type: TP
283 #: mageia-cauldron
284 #, no-wrap
285 msgid "B<EBADF>"
286 msgstr "B<EBADF>"
287
288 #. type: Plain text
289 #: mageia-cauldron
290 msgid ""
291 "I<src_fd> is not open for reading; I<dest_fd> is not open for writing or is "
292 "open for append-only writes; or the filesystem which I<src_fd> resides on "
293 "does not support deduplication."
294 msgstr ""
295 "Дескриптор I<src_fd> не открыт на чтение; I<dest_fd> не открыт на запись или "
296 "открыт только для добавления; файловая система, в которой находится "
297 "I<src_fd>, не поддерживает дедупликацию."
298
299 #. type: TP
300 #: mageia-cauldron
301 #, no-wrap
302 msgid "B<EINVAL>"
303 msgstr "B<EINVAL>"
304
305 #. type: Plain text
306 #: mageia-cauldron
307 msgid ""
308 "The filesystem does not support deduplicating the ranges of the given "
309 "files. This error can also appear if either file descriptor represents a "
310 "device, FIFO, or socket. Disk filesystems generally require the offset and "
311 "length arguments to be aligned to the fundamental block size. Neither Btrfs "
312 "nor XFS support overlapping deduplication ranges in the same file."
313 msgstr ""
314 "Файловая система не поддерживает дедупликацию диапазонов в заданных файлах. "
315 "Эта ошибка также может возникнуть, если файловый дескриптор представляет "
316 "устройство, FIFO или сокет. Обычно, для дисковых файловых систем требуются, "
317 "чтобы аргументы смещения и длины были выровнены по основному размеру блока. "
318 "В XFS и Btrfs нет поддержки дедупликации перекрывающихся диапазонов в одном "
319 "и том же файле."
320
321 #. type: TP
322 #: mageia-cauldron
323 #, no-wrap
324 msgid "B<EISDIR>"
325 msgstr "B<EISDIR>"
326
327 #. type: Plain text
328 #: mageia-cauldron
329 msgid ""
330 "One of the files is a directory and the filesystem does not support shared "
331 "regions in directories."
332 msgstr ""
333 "Один из файлов является каталогом и файловая система не поддерживает "
334 "диапазоны для каталогов."
335
336 #. type: TP
337 #: mageia-cauldron
338 #, no-wrap
339 msgid "B<ENOMEM>"
340 msgstr "B<ENOMEM>"
341
342 #. type: Plain text
343 #: mageia-cauldron
344 msgid ""
345 "The kernel was unable to allocate sufficient memory to perform the operation "
346 "or I<dest_count> is so large that the input argument description spans more "
347 "than a single page of memory."
348 msgstr ""
349 "Ядро не смогло выделить достаточно памяти для выполнения операции или размер "
350 "I<dest_count> слишком большой из-за того, что описание входного аргумента "
351 "занимает больше одной страницы в памяти."
352
353 #. type: TP
354 #: mageia-cauldron
355 #, no-wrap
356 msgid "B<EOPNOTSUPP>"
357 msgstr "B<EOPNOTSUPP>"
358
359 #. type: Plain text
360 #: mageia-cauldron
361 msgid ""
362 "This can appear if the filesystem does not support deduplicating either file "
363 "descriptor, or if either file descriptor refers to special inodes."
364 msgstr ""
365 "Может возникать, если файловая система не поддерживает дедупликацию для "
366 "файловых дескрипторов или когда файловый дескриптор ссылается на специальные "
367 "иноды."
368
369 #. type: TP
370 #: mageia-cauldron
371 #, no-wrap
372 msgid "B<EPERM>"
373 msgstr "B<EPERM>"
374
375 #. type: Plain text
376 #: mageia-cauldron
377 msgid "I<dest_fd> is immutable."
378 msgstr "Дескриптор I<dest_fd> является неизменным."
379
380 #. type: TP
381 #: mageia-cauldron
382 #, no-wrap
383 msgid "B<ETXTBSY>"
384 msgstr "B<ETXTBSY>"
385
386 #. type: Plain text
387 #: mageia-cauldron
388 msgid "One of the files is a swap file. Swap files cannot share storage."
389 msgstr ""
390 "Один из файлов является файлом подкачки. Файлы подкачки не могут содержаться "
391 "в совместных хранилищах."
392
393 #. type: TP
394 #: mageia-cauldron
395 #, no-wrap
396 msgid "B<EXDEV>"
397 msgstr "B<EXDEV>"
398
399 #. type: Plain text
400 #: mageia-cauldron
401 msgid "I<dest_fd> and I<src_fd> are not on the same mounted filesystem."
402 msgstr ""
403 "Дескрипторы I<dest_fd> и I<src_fd> находятся на разных смонтированных "
404 "файловых системах."
405
406 #. type: SH
407 #: mageia-cauldron
408 #, no-wrap
409 msgid "VERSIONS"
410 msgstr "ВЕРСИИ"
411
412 #. type: Plain text
413 #: mageia-cauldron
414 msgid ""
415 "Some filesystems may limit the amount of data that can be deduplicated in a "
416 "single call."
417 msgstr ""
418 "Некоторые файловые системы имеют ограничение на количество данных, которое "
419 "может быть дедуплицировано за один вызов."
420
421 #. type: SH
422 #: mageia-cauldron
423 #, no-wrap
424 msgid "STANDARDS"
425 msgstr "СТАНДАРТЫ"
426
427 #. type: Plain text
428 #: mageia-cauldron
429 msgid "Linux."
430 msgstr "Linux."
431
432 #. type: SH
433 #: mageia-cauldron
434 #, no-wrap
435 msgid "HISTORY"
436 msgstr "ИСТОРИЯ"
437
438 #. type: Plain text
439 #: mageia-cauldron
440 msgid "Linux 4.5."
441 msgstr "Linux 4.5."
442
443 #. type: Plain text
444 #: mageia-cauldron
445 #, fuzzy
446 #| msgid ""
447 #| "This ioctl operation first appeared in Linux 4.5. It was previously "
448 #| "known as B<BTRFS_IOC_FILE_EXTENT_SAME> and was private to Btrfs."
449 msgid ""
450 "It was previously known as B<BTRFS_IOC_FILE_EXTENT_SAME> and was private to "
451 "Btrfs."
452 msgstr ""
453 "Данная операция ioctl появилась в Linux 4.5. Раньше она называлась "
454 "B<BTRFS_IOC_FILE_EXTENT_SAME> и работала только в Btrfs."
455
456 #. type: SH
457 #: mageia-cauldron
458 #, no-wrap
459 msgid "NOTES"
460 msgstr "ПРИМЕЧАНИЯ"
461
462 #. type: Plain text
463 #: mageia-cauldron
464 msgid ""
465 "Because a copy-on-write operation requires the allocation of new storage, "
466 "the B<fallocate>(2) operation may unshare shared blocks to guarantee that "
467 "subsequent writes will not fail because of lack of disk space."
468 msgstr ""
469 "Так как для операции копирования-при-записи требуется выделение нового "
470 "пространства в хранилище, операция B<fallocate>(2) может отменить совместное "
471 "использование общих блоков для гарантии того, что последующие операции "
472 "записи не завершатся ошибкой из-за нехватки места на диске."
473
474 #. type: SH
475 #: mageia-cauldron
476 #, no-wrap
477 msgid "SEE ALSO"
478 msgstr "СМОТРИТЕ ТАКЖЕ"
479
480 #. type: Plain text
481 #: mageia-cauldron
482 msgid "B<ioctl>(2)"
483 msgstr "B<ioctl>(2)"