Debian Codegraph @

templates/man2/fsync.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "fsync"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid ""
50 "fsync, fdatasync - synchronize a file's in-core state with storage device"
51 msgstr ""
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr ""
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr ""
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr ""
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>unistd.hE<gt>>\n"
78 msgstr ""
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<int fsync(int >I<fd>B<);>\n"
85 msgstr ""
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 #, no-wrap
91 msgid "B<int fdatasync(int >I<fd>B<);>\n"
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 msgid ""
98 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, no-wrap
105 msgid ""
106 "B<fsync>():\n"
107 " glibc 2.16 and later:\n"
108 " No feature test macros need be defined\n"
109 " glibc up to and including 2.15:\n"
110 " _BSD_SOURCE || _XOPEN_SOURCE\n"
111 " || /* Since glibc 2.8: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
112 msgstr ""
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid "B<fdatasync>():"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, no-wrap
124 msgid " _POSIX_C_SOURCE E<gt>= 199309L || _XOPEN_SOURCE E<gt>= 500\n"
125 msgstr ""
126
127 #. type: SH
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "DESCRIPTION"
132 msgstr ""
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "B<fsync>() transfers (\"flushes\") all modified in-core data of (i.e., "
139 "modified buffer cache pages for) the file referred to by the file descriptor "
140 "I<fd> to the disk device (or other permanent storage device) so that all "
141 "changed information can be retrieved even if the system crashes or is "
142 "rebooted. This includes writing through or flushing a disk cache if "
143 "present. The call blocks until the device reports that the transfer has "
144 "completed."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "As well as flushing the file data, B<fsync>() also flushes the metadata "
152 "information associated with the file (see B<inode>(7))."
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid ""
159 "Calling B<fsync>() does not necessarily ensure that the entry in the "
160 "directory containing the file has also reached disk. For that an explicit "
161 "B<fsync>() on a file descriptor for the directory is also needed."
162 msgstr ""
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "B<fdatasync>() is similar to B<fsync>(), but does not flush modified "
169 "metadata unless that metadata is needed in order to allow a subsequent data "
170 "retrieval to be correctly handled. For example, changes to I<st_atime> or "
171 "I<st_mtime> (respectively, time of last access and time of last "
172 "modification; see B<inode>(7)) do not require flushing because they are not "
173 "necessary for a subsequent data read to be handled correctly. On the other "
174 "hand, a change to the file size (I<st_size>, as made by say "
175 "B<ftruncate>(2)), would require a metadata flush."
176 msgstr ""
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "The aim of B<fdatasync>() is to reduce disk activity for applications that "
183 "do not require all metadata to be synchronized with the disk."
184 msgstr ""
185
186 #. type: SH
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "RETURN VALUE"
191 msgstr ""
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "On success, these system calls return zero. On error, -1 is returned, and "
198 "I<errno> is set to indicate the error."
199 msgstr ""
200
201 #. type: SH
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 #, no-wrap
205 msgid "ERRORS"
206 msgstr ""
207
208 #. type: TP
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "B<EBADF>"
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid "I<fd> is not a valid open file descriptor."
219 msgstr ""
220
221 #. type: TP
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "B<EINTR>"
226 msgstr ""
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid "The function was interrupted by a signal; see B<signal>(7)."
232 msgstr ""
233
234 #. type: TP
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "B<EIO>"
239 msgstr ""
240
241 #. commit 088737f44bbf6378745f5b57b035e57ee3dc4750
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "An error occurred during synchronization. This error may relate to data "
247 "written to some other file descriptor on the same file. Since Linux 4.13, "
248 "errors from write-back will be reported to all file descriptors that might "
249 "have written the data which triggered the error. Some filesystems (e.g., "
250 "NFS) keep close track of which data came through which file descriptor, and "
251 "give more precise reporting. Other filesystems (e.g., most local "
252 "filesystems) will report errors to all file descriptors that were open on "
253 "the file when the error was recorded."
254 msgstr ""
255
256 #. type: TP
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "B<ENOSPC>"
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid "Disk space was exhausted while synchronizing."
267 msgstr ""
268
269 #. type: TP
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "B<EROFS>"
274 msgstr ""
275
276 #. type: TQ
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "B<EINVAL>"
281 msgstr ""
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 msgid ""
287 "I<fd> is bound to a special file (e.g., a pipe, FIFO, or socket) which does "
288 "not support synchronization."
289 msgstr ""
290
291 #. type: TQ
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "B<EDQUOT>"
296 msgstr ""
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid ""
302 "I<fd> is bound to a file on NFS or another filesystem which does not "
303 "allocate space at the time of a B<write>(2) system call, and some previous "
304 "write failed due to insufficient storage space."
305 msgstr ""
306
307 #. type: SH
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "VERSIONS"
312 msgstr ""
313
314 #. POSIX.1-2001: It shall be defined to -1 or 0 or 200112L.
315 #. -1: unavailable, 0: ask using sysconf().
316 #. glibc defines them to 1.
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "On POSIX systems on which B<fdatasync>() is available, "
322 "B<_POSIX_SYNCHRONIZED_IO> is defined in I<E<lt>unistd.hE<gt>> to a value "
323 "greater than 0. (See also B<sysconf>(3).)"
324 msgstr ""
325
326 #. type: SH
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "STANDARDS"
331 msgstr ""
332
333 #. type: Plain text
334 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
335 #: opensuse-tumbleweed
336 msgid "POSIX.1-2024."
337 msgstr ""
338
339 #. type: SH
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "HISTORY"
344 msgstr ""
345
346 #. type: TP
347 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
348 #: opensuse-tumbleweed
349 #, no-wrap
350 msgid "B<fsync>()"
351 msgstr ""
352
353 #. type: Plain text
354 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
355 #: opensuse-tumbleweed
356 msgid "4.2BSD, SUSv1, POSIX.1-1996."
357 msgstr ""
358
359 #. type: TP
360 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
361 #: opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<fdatasync>()"
364 msgstr ""
365
366 #. type: Plain text
367 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
368 #: opensuse-tumbleweed
369 msgid "POSIX.1-1996."
370 msgstr ""
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "In Linux 2.2 and earlier, B<fdatasync>() is equivalent to B<fsync>(), and "
377 "so has no performance advantage."
378 msgstr ""
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 msgid ""
384 "The B<fsync>() implementations in older kernels and lesser used filesystems "
385 "do not know how to flush disk caches. In these cases disk caches need to be "
386 "disabled using B<hdparm>(8) or B<sdparm>(8) to guarantee safe operation."
387 msgstr ""
388
389 #. type: Plain text
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 msgid ""
393 "Under AT&T UNIX System V Release 4 I<fd> needs to be opened for writing. "
394 "This is by itself incompatible with the original BSD interface and forbidden "
395 "by POSIX, but nevertheless survives in HP-UX and AIX."
396 msgstr ""
397
398 #. type: SH
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, no-wrap
402 msgid "SEE ALSO"
403 msgstr ""
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 msgid ""
409 "B<sync>(1), B<bdflush>(2), B<open>(2), B<posix_fadvise>(2), B<pwritev>(2), "
410 "B<sync>(2), B<sync_file_range>(2), B<fflush>(3), B<fileno>(3), B<hdparm>(8), "
411 "B<mount>(8)"
412 msgstr ""
413
414 #. type: TH
415 #: debian-trixie
416 #, no-wrap
417 msgid "2024-05-02"
418 msgstr ""
419
420 #. type: TH
421 #: debian-trixie
422 #, no-wrap
423 msgid "Linux man-pages 6.9.1"
424 msgstr ""
425
426 #. type: Plain text
427 #: debian-trixie
428 msgid "Standard C library (I<libc>, I<-lc>)"
429 msgstr ""
430
431 #. type: Plain text
432 #: debian-trixie fedora-44 fedora-rawhide
433 msgid "POSIX.1-2008."
434 msgstr ""
435
436 #. type: Plain text
437 #: debian-trixie fedora-44 fedora-rawhide
438 msgid "POSIX.1-2001, 4.2BSD."
439 msgstr ""
440
441 #. type: TH
442 #: fedora-44 fedora-rawhide
443 #, no-wrap
444 msgid "2024-07-23"
445 msgstr ""
446
447 #. type: TH
448 #: fedora-44 fedora-rawhide
449 #, no-wrap
450 msgid "Linux man-pages 6.13"
451 msgstr ""
452
453 #. type: TH
454 #: mageia-cauldron
455 #, no-wrap
456 msgid "Linux man-pages 6.17"
457 msgstr ""
458
459 #. type: TH
460 #: opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "Linux man-pages (unreleased)"
463 msgstr ""