| 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 "fallocate" |
| 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 "fallocate - manipulate file space" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "" |
| 77 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 78 |
"B<#include E<lt>fcntl.hE<gt>>\n" |
| 79 |
msgstr "" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 83 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "B<int fallocate(int >I<fd>B<, int >I<mode>B<, off_t >I<offset>B<, off_t >I<size>B<);>\n" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: SH |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "DESCRIPTION" |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
msgid "" |
| 99 |
"This is a nonportable, Linux-specific system call. For the portable, " |
| 100 |
"POSIX.1-specified method of ensuring that space is allocated for a file, see " |
| 101 |
"B<posix_fallocate>(3)." |
| 102 |
msgstr "" |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 106 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
msgid "" |
| 108 |
"B<fallocate>() allows the caller to directly manipulate the allocated disk " |
| 109 |
"space for the file referred to by I<fd> for the byte range starting at " |
| 110 |
"I<offset> and continuing for I<size> bytes." |
| 111 |
msgstr "" |
| 112 |
|
| 113 |
#. type: Plain text |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
msgid "" |
| 117 |
"The I<mode> argument determines the operation to be performed on the given " |
| 118 |
"range. Details of the supported operations are given in the subsections " |
| 119 |
"below." |
| 120 |
msgstr "" |
| 121 |
|
| 122 |
#. type: SS |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
#, no-wrap |
| 126 |
msgid "Allocating disk space" |
| 127 |
msgstr "" |
| 128 |
|
| 129 |
#. type: Plain text |
| 130 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 131 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 132 |
msgid "" |
| 133 |
"The default operation (i.e., I<mode> is zero) of B<fallocate>() allocates " |
| 134 |
"the disk space within the range specified by I<offset> and I<size>. The " |
| 135 |
"file size (as reported by B<stat>(2)) will be changed if I<offset>+I<size> " |
| 136 |
"is greater than the file size. Any subregion within the range specified by " |
| 137 |
"I<offset> and I<size> that did not contain data before the call will be " |
| 138 |
"initialized to zero. This default behavior closely resembles the behavior " |
| 139 |
"of the B<posix_fallocate>(3) library function, and is intended as a method " |
| 140 |
"of optimally implementing that function." |
| 141 |
msgstr "" |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 145 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
msgid "" |
| 147 |
"After a successful call, subsequent writes into the range specified by " |
| 148 |
"I<offset> and I<size> are guaranteed not to fail because of lack of disk " |
| 149 |
"space." |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 154 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"If the B<FALLOC_FL_KEEP_SIZE> flag is specified in I<mode>, the behavior of " |
| 157 |
"the call is similar, but the file size will not be changed even if " |
| 158 |
"I<offset>+I<size> is greater than the file size. Preallocating zeroed " |
| 159 |
"blocks beyond the end of the file in this manner is useful for optimizing " |
| 160 |
"append workloads." |
| 161 |
msgstr "" |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
msgid "" |
| 167 |
"If the B<FALLOC_FL_UNSHARE_RANGE> flag is specified in I<mode>, shared file " |
| 168 |
"data extents will be made private to the file to guarantee that a subsequent " |
| 169 |
"write will not fail due to lack of space. Typically, this will be done by " |
| 170 |
"performing a copy-on-write operation on all shared data in the file. This " |
| 171 |
"flag may not be supported by all filesystems." |
| 172 |
msgstr "" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 177 |
msgid "" |
| 178 |
"Because allocation is done in block size chunks, B<fallocate>() may " |
| 179 |
"allocate a larger range of disk space than was specified." |
| 180 |
msgstr "" |
| 181 |
|
| 182 |
#. type: SS |
| 183 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 184 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 185 |
#, no-wrap |
| 186 |
msgid "Deallocating file space" |
| 187 |
msgstr "" |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 191 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
msgid "" |
| 193 |
"Specifying the B<FALLOC_FL_PUNCH_HOLE> flag (available since Linux 2.6.38) " |
| 194 |
"in I<mode> deallocates space (i.e., creates a hole) in the byte range " |
| 195 |
"starting at I<offset> and continuing for I<size> bytes. Within the " |
| 196 |
"specified range, partial filesystem blocks are zeroed, and whole filesystem " |
| 197 |
"blocks are removed from the file. After a successful call, subsequent reads " |
| 198 |
"from this range will return zeros." |
| 199 |
msgstr "" |
| 200 |
|
| 201 |
#. type: Plain text |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
msgid "" |
| 205 |
"The B<FALLOC_FL_PUNCH_HOLE> flag must be ORed with B<FALLOC_FL_KEEP_SIZE> in " |
| 206 |
"I<mode>; in other words, even when punching off the end of the file, the " |
| 207 |
"file size (as reported by B<stat>(2)) does not change." |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
#. type: Plain text |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
msgid "" |
| 214 |
"Not all filesystems support B<FALLOC_FL_PUNCH_HOLE>; if a filesystem doesn't " |
| 215 |
"support the operation, an error is returned. The operation is supported on " |
| 216 |
"at least the following filesystems:" |
| 217 |
msgstr "" |
| 218 |
|
| 219 |
#. type: IP |
| 220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 222 |
#, no-wrap |
| 223 |
msgid "\\[bu]" |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
msgid "XFS (since Linux 2.6.38)" |
| 230 |
msgstr "" |
| 231 |
|
| 232 |
#. commit a4bb6b64e39abc0e41ca077725f2a72c868e7622 |
| 233 |
#. type: Plain text |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
msgid "ext4 (since Linux 3.0)" |
| 237 |
msgstr "" |
| 238 |
|
| 239 |
#. type: Plain text |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
msgid "Btrfs (since Linux 3.7)" |
| 243 |
msgstr "" |
| 244 |
|
| 245 |
#. commit 83e4fa9c16e4af7122e31be3eca5d57881d236fe |
| 246 |
#. type: Plain text |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
msgid "B<tmpfs>(5) (since Linux 3.5)" |
| 250 |
msgstr "" |
| 251 |
|
| 252 |
#. commit 4e56a6411fbce6f859566e17298114c2434391a4 |
| 253 |
#. type: Plain text |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
msgid "B<gfs2>(5) (since Linux 4.16)" |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: SS |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
#, no-wrap |
| 263 |
msgid "Collapsing file space" |
| 264 |
msgstr "" |
| 265 |
|
| 266 |
#. commit 00f5e61998dd17f5375d9dfc01331f104b83f841 |
| 267 |
#. type: Plain text |
| 268 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 269 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
msgid "" |
| 271 |
"Specifying the B<FALLOC_FL_COLLAPSE_RANGE> flag (available since Linux 3.15) " |
| 272 |
"in I<mode> removes a byte range from a file, without leaving a hole. The " |
| 273 |
"byte range to be collapsed starts at I<offset> and continues for I<size> " |
| 274 |
"bytes. At the completion of the operation, the contents of the file " |
| 275 |
"starting at the location I<offset+size> will be appended at the location " |
| 276 |
"I<offset>, and the file will be I<size> bytes smaller." |
| 277 |
msgstr "" |
| 278 |
|
| 279 |
#. type: Plain text |
| 280 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 281 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
msgid "" |
| 283 |
"A filesystem may place limitations on the granularity of the operation, in " |
| 284 |
"order to ensure efficient implementation. Typically, I<offset> and I<size> " |
| 285 |
"must be a multiple of the filesystem logical block size, which varies " |
| 286 |
"according to the filesystem type and configuration. If a filesystem has " |
| 287 |
"such a requirement, B<fallocate>() fails with the error B<EINVAL> if this " |
| 288 |
"requirement is violated." |
| 289 |
msgstr "" |
| 290 |
|
| 291 |
#. type: Plain text |
| 292 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 293 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 294 |
msgid "" |
| 295 |
"If the region specified by I<offset> plus I<size> reaches or passes the end " |
| 296 |
"of file, an error is returned; instead, use B<ftruncate>(2) to truncate a " |
| 297 |
"file." |
| 298 |
msgstr "" |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
msgid "" |
| 304 |
"No other flags may be specified in I<mode> in conjunction with " |
| 305 |
"B<FALLOC_FL_COLLAPSE_RANGE>." |
| 306 |
msgstr "" |
| 307 |
|
| 308 |
#. commit 9eb79482a97152930b113b51dff530aba9e28c8e |
| 309 |
#. commit e1d8fb88a64c1f8094b9f6c3b6d2d9e6719c970d |
| 310 |
#. type: Plain text |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
msgid "" |
| 314 |
"As at Linux 3.15, B<FALLOC_FL_COLLAPSE_RANGE> is supported by ext4 (only for " |
| 315 |
"extent-based files) and XFS." |
| 316 |
msgstr "" |
| 317 |
|
| 318 |
#. type: SS |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
#, no-wrap |
| 322 |
msgid "Zeroing file space" |
| 323 |
msgstr "" |
| 324 |
|
| 325 |
#. commit 409332b65d3ed8cfa7a8030f1e9d52f372219642 |
| 326 |
#. type: Plain text |
| 327 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 328 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
msgid "" |
| 330 |
"Specifying the B<FALLOC_FL_ZERO_RANGE> flag (available since Linux 3.15) in " |
| 331 |
"I<mode> zeros space in the byte range starting at I<offset> and continuing " |
| 332 |
"for I<size> bytes. Within the specified range, blocks are preallocated for " |
| 333 |
"the regions that span the holes in the file. After a successful call, " |
| 334 |
"subsequent reads from this range will return zeros." |
| 335 |
msgstr "" |
| 336 |
|
| 337 |
#. type: Plain text |
| 338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 340 |
msgid "" |
| 341 |
"Zeroing is done within the filesystem preferably by converting the range " |
| 342 |
"into unwritten extents. This approach means that the specified range will " |
| 343 |
"not be physically zeroed out on the device (except for partial blocks at the " |
| 344 |
"either end of the range), and I/O is (otherwise) required only to update " |
| 345 |
"metadata." |
| 346 |
msgstr "" |
| 347 |
|
| 348 |
#. type: Plain text |
| 349 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 350 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
msgid "" |
| 352 |
"If the B<FALLOC_FL_KEEP_SIZE> flag is additionally specified in I<mode>, the " |
| 353 |
"behavior of the call is similar, but the file size will not be changed even " |
| 354 |
"if I<offset>+I<size> is greater than the file size. This behavior is the " |
| 355 |
"same as when preallocating space with B<FALLOC_FL_KEEP_SIZE> specified." |
| 356 |
msgstr "" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
msgid "" |
| 362 |
"Not all filesystems support B<FALLOC_FL_ZERO_RANGE>; if a filesystem doesn't " |
| 363 |
"support the operation, an error is returned. The operation is supported on " |
| 364 |
"at least the following filesystems:" |
| 365 |
msgstr "" |
| 366 |
|
| 367 |
#. commit 376ba313147b4172f3e8cf620b9fb591f3e8cdfa |
| 368 |
#. type: Plain text |
| 369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
msgid "XFS (since Linux 3.15)" |
| 372 |
msgstr "" |
| 373 |
|
| 374 |
#. commit b8a8684502a0fc852afa0056c6bb2a9273f6fcc0 |
| 375 |
#. type: Plain text |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
msgid "ext4, for extent-based files (since Linux 3.15)" |
| 379 |
msgstr "" |
| 380 |
|
| 381 |
#. commit 30175628bf7f521e9ee31ac98fa6d6fe7441a556 |
| 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 "SMB3 (since Linux 3.17)" |
| 386 |
msgstr "" |
| 387 |
|
| 388 |
#. commit f27451f229966874a8793995b8e6b74326d125df |
| 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 "Btrfs (since Linux 4.16)" |
| 393 |
msgstr "" |
| 394 |
|
| 395 |
#. type: SS |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
#, no-wrap |
| 399 |
msgid "Increasing file space" |
| 400 |
msgstr "" |
| 401 |
|
| 402 |
#. commit dd46c787788d5bf5b974729d43e4c405814a4c7d |
| 403 |
#. type: Plain text |
| 404 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 405 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 406 |
msgid "" |
| 407 |
"Specifying the B<FALLOC_FL_INSERT_RANGE> flag (available since Linux 4.1) " |
| 408 |
"in I<mode> increases the file space by inserting a hole within the file size " |
| 409 |
"without overwriting any existing data. The hole will start at I<offset> and " |
| 410 |
"continue for I<size> bytes. When inserting the hole inside file, the " |
| 411 |
"contents of the file starting at I<offset> will be shifted upward (i.e., to " |
| 412 |
"a higher file offset) by I<size> bytes. Inserting a hole inside a file " |
| 413 |
"increases the file size by I<size> bytes." |
| 414 |
msgstr "" |
| 415 |
|
| 416 |
#. type: Plain text |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
msgid "" |
| 420 |
"This mode has the same limitations as B<FALLOC_FL_COLLAPSE_RANGE> regarding " |
| 421 |
"the granularity of the operation. If the granularity requirements are not " |
| 422 |
"met, B<fallocate>() fails with the error B<EINVAL>. If the I<offset> is " |
| 423 |
"equal to or greater than the end of file, an error is returned. For such " |
| 424 |
"operations (i.e., inserting a hole at the end of file), B<ftruncate>(2) " |
| 425 |
"should be used." |
| 426 |
msgstr "" |
| 427 |
|
| 428 |
#. type: Plain text |
| 429 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 430 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 431 |
msgid "" |
| 432 |
"No other flags may be specified in I<mode> in conjunction with " |
| 433 |
"B<FALLOC_FL_INSERT_RANGE>." |
| 434 |
msgstr "" |
| 435 |
|
| 436 |
#. commit a904b1ca5751faf5ece8600e18cd3b674afcca1b |
| 437 |
#. commit 331573febb6a224bc50322e3670da326cb7f4cfc |
| 438 |
#. f2fs also has support since Linux 4.2 |
| 439 |
#. commit f62185d0e283e9d311e3ac1020f159d95f0aab39 |
| 440 |
#. type: Plain text |
| 441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 443 |
msgid "" |
| 444 |
"B<FALLOC_FL_INSERT_RANGE> requires filesystem support. Filesystems that " |
| 445 |
"support this operation include XFS (since Linux 4.1) and ext4 (since Linux " |
| 446 |
"4.2)." |
| 447 |
msgstr "" |
| 448 |
|
| 449 |
#. type: SH |
| 450 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 451 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 452 |
#, no-wrap |
| 453 |
msgid "RETURN VALUE" |
| 454 |
msgstr "" |
| 455 |
|
| 456 |
#. type: Plain text |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
msgid "" |
| 460 |
"On success, B<fallocate>() returns zero. On error, -1 is returned and " |
| 461 |
"I<errno> is set to indicate the error." |
| 462 |
msgstr "" |
| 463 |
|
| 464 |
#. type: SH |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
#, no-wrap |
| 468 |
msgid "ERRORS" |
| 469 |
msgstr "" |
| 470 |
|
| 471 |
#. type: TP |
| 472 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 473 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 474 |
#, no-wrap |
| 475 |
msgid "B<EBADF>" |
| 476 |
msgstr "" |
| 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 "I<fd> is not a valid file descriptor, or is not opened for writing." |
| 482 |
msgstr "" |
| 483 |
|
| 484 |
#. type: TP |
| 485 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 486 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 487 |
#, no-wrap |
| 488 |
msgid "B<EFBIG>" |
| 489 |
msgstr "" |
| 490 |
|
| 491 |
#. type: Plain text |
| 492 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 493 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 494 |
msgid "I<offset>+I<size> exceeds the maximum file size." |
| 495 |
msgstr "" |
| 496 |
|
| 497 |
#. type: Plain text |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
msgid "" |
| 501 |
"I<mode> is B<FALLOC_FL_INSERT_RANGE>, and the current file size+I<len> " |
| 502 |
"exceeds the maximum file size." |
| 503 |
msgstr "" |
| 504 |
|
| 505 |
#. type: TP |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
#, no-wrap |
| 509 |
msgid "B<EINTR>" |
| 510 |
msgstr "" |
| 511 |
|
| 512 |
#. type: Plain text |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
msgid "A signal was caught during execution; see B<signal>(7)." |
| 516 |
msgstr "" |
| 517 |
|
| 518 |
#. type: TP |
| 519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
#, no-wrap |
| 522 |
msgid "B<EINVAL>" |
| 523 |
msgstr "" |
| 524 |
|
| 525 |
#. #-#-#-#-# archlinux: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 526 |
#. FIXME . (raise a kernel bug) Probably the size==0 case should be |
| 527 |
#. a no-op, rather than an error. That would be consistent with |
| 528 |
#. similar APIs for the size==0 case. |
| 529 |
#. See "Re: [PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition" |
| 530 |
#. 21 Sep 2012 |
| 531 |
#. http://thread.gmane.org/gmane.linux.file-systems/48331/focus=1193526 |
| 532 |
#. type: Plain text |
| 533 |
#. #-#-#-#-# debian-unstable: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 534 |
#. FIXME . (raise a kernel bug) Probably the size==0 case should be |
| 535 |
#. a no-op, rather than an error. That would be consistent with |
| 536 |
#. similar APIs for the size==0 case. |
| 537 |
#. See "Re: [PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition" |
| 538 |
#. 21 Sep 2012 |
| 539 |
#. http://thread.gmane.org/gmane.linux.file-systems/48331/focus=1193526 |
| 540 |
#. type: Plain text |
| 541 |
#. #-#-#-#-# fedora-44: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 542 |
#. FIXME . (raise a kernel bug) Probably the size==0 case should be |
| 543 |
#. a no-op, rather than an error. That would be consistent with |
| 544 |
#. similar APIs for the size==0 case. |
| 545 |
#. See "Re: [PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition" |
| 546 |
#. 21 Sep 2012 |
| 547 |
#. http://thread.gmane.org/gmane.linux.file-systems/48331/focus=1193526 |
| 548 |
#. type: Plain text |
| 549 |
#. #-#-#-#-# fedora-rawhide: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 550 |
#. FIXME . (raise a kernel bug) Probably the size==0 case should be |
| 551 |
#. a no-op, rather than an error. That would be consistent with |
| 552 |
#. similar APIs for the size==0 case. |
| 553 |
#. See "Re: [PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition" |
| 554 |
#. 21 Sep 2012 |
| 555 |
#. http://thread.gmane.org/gmane.linux.file-systems/48331/focus=1193526 |
| 556 |
#. type: Plain text |
| 557 |
#. #-#-#-#-# mageia-cauldron: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 558 |
#. FIXME . (raise a kernel bug) Probably the size==0 case should be |
| 559 |
#. a no-op, rather than an error. That would be consistent with |
| 560 |
#. similar APIs for the size==0 case. |
| 561 |
#. See "Re: [PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition" |
| 562 |
#. 21 Sep 2012 |
| 563 |
#. http://thread.gmane.org/gmane.linux.file-systems/48331/focus=1193526 |
| 564 |
#. type: Plain text |
| 565 |
#. #-#-#-#-# opensuse-leap-16-1: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 566 |
#. FIXME . (raise a kernel bug) Probably the size==0 case should be |
| 567 |
#. a no-op, rather than an error. That would be consistent with |
| 568 |
#. similar APIs for the size==0 case. |
| 569 |
#. See "Re: [PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition" |
| 570 |
#. 21 Sep 2012 |
| 571 |
#. http://thread.gmane.org/gmane.linux.file-systems/48331/focus=1193526 |
| 572 |
#. type: Plain text |
| 573 |
#. #-#-#-#-# opensuse-tumbleweed: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 574 |
#. FIXME . (raise a kernel bug) Probably the size==0 case should be |
| 575 |
#. a no-op, rather than an error. That would be consistent with |
| 576 |
#. similar APIs for the size==0 case. |
| 577 |
#. See "Re: [PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition" |
| 578 |
#. 21 Sep 2012 |
| 579 |
#. http://thread.gmane.org/gmane.linux.file-systems/48331/focus=1193526 |
| 580 |
#. type: Plain text |
| 581 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 582 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 583 |
msgid "I<offset> was less than 0, or I<size> was less than or equal to 0." |
| 584 |
msgstr "" |
| 585 |
|
| 586 |
#. type: Plain text |
| 587 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 588 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 589 |
msgid "" |
| 590 |
"I<mode> is B<FALLOC_FL_COLLAPSE_RANGE> and the range specified by I<offset> " |
| 591 |
"plus I<size> reaches or passes the end of the file." |
| 592 |
msgstr "" |
| 593 |
|
| 594 |
#. type: Plain text |
| 595 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 596 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 597 |
msgid "" |
| 598 |
"I<mode> is B<FALLOC_FL_INSERT_RANGE> and the range specified by I<offset> " |
| 599 |
"reaches or passes the end of the file." |
| 600 |
msgstr "" |
| 601 |
|
| 602 |
#. type: Plain text |
| 603 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 604 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 605 |
msgid "" |
| 606 |
"I<mode> is B<FALLOC_FL_COLLAPSE_RANGE> or B<FALLOC_FL_INSERT_RANGE>, but " |
| 607 |
"either I<offset> or I<size> is not a multiple of the filesystem block size." |
| 608 |
msgstr "" |
| 609 |
|
| 610 |
#. type: Plain text |
| 611 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 612 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 613 |
msgid "" |
| 614 |
"I<mode> contains one of B<FALLOC_FL_COLLAPSE_RANGE> or " |
| 615 |
"B<FALLOC_FL_INSERT_RANGE> and also other flags; no other flags are permitted " |
| 616 |
"with B<FALLOC_FL_COLLAPSE_RANGE> or B<FALLOC_FL_INSERT_RANGE>." |
| 617 |
msgstr "" |
| 618 |
|
| 619 |
#. #-#-#-#-# archlinux: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 620 |
#. There was an inconsistency in Linux 3.15-rc1, that should be resolved so that all |
| 621 |
#. filesystems use this error for this case. (Tytso says ex4 will change.) |
| 622 |
#. http://thread.gmane.org/gmane.comp.file-systems.xfs.general/60485/focus=5521 |
| 623 |
#. From: Michael Kerrisk (man-pages <mtk.manpages@...> |
| 624 |
#. Subject: Re: [PATCH v5 10/10] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate |
| 625 |
#. Newsgroups: gmane.linux.man, gmane.linux.file-systems |
| 626 |
#. Date: 2014-04-17 13:40:05 GMT |
| 627 |
#. type: Plain text |
| 628 |
#. #-#-#-#-# debian-trixie: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 629 |
#. There was an inconsistency in Linux 3.15-rc1, that should be resolved so that all |
| 630 |
#. filesystems use this error for this case. (Tytso says ex4 will change.) |
| 631 |
#. http://thread.gmane.org/gmane.comp.file-systems.xfs.general/60485/focus=5521 |
| 632 |
#. From: Michael Kerrisk (man-pages <mtk.manpages@...> |
| 633 |
#. Subject: Re: [PATCH v5 10/10] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate |
| 634 |
#. Newsgroups: gmane.linux.man, gmane.linux.file-systems |
| 635 |
#. Date: 2014-04-17 13:40:05 GMT |
| 636 |
#. type: Plain text |
| 637 |
#. #-#-#-#-# debian-unstable: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 638 |
#. There was an inconsistency in Linux 3.15-rc1, that should be resolved so that all |
| 639 |
#. filesystems use this error for this case. (Tytso says ex4 will change.) |
| 640 |
#. http://thread.gmane.org/gmane.comp.file-systems.xfs.general/60485/focus=5521 |
| 641 |
#. From: Michael Kerrisk (man-pages <mtk.manpages@...> |
| 642 |
#. Subject: Re: [PATCH v5 10/10] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate |
| 643 |
#. Newsgroups: gmane.linux.man, gmane.linux.file-systems |
| 644 |
#. Date: 2014-04-17 13:40:05 GMT |
| 645 |
#. type: Plain text |
| 646 |
#. #-#-#-#-# fedora-44: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 647 |
#. There was an inconsistency in Linux 3.15-rc1, that should be resolved so that all |
| 648 |
#. filesystems use this error for this case. (Tytso says ex4 will change.) |
| 649 |
#. http://thread.gmane.org/gmane.comp.file-systems.xfs.general/60485/focus=5521 |
| 650 |
#. From: Michael Kerrisk (man-pages <mtk.manpages@...> |
| 651 |
#. Subject: Re: [PATCH v5 10/10] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate |
| 652 |
#. Newsgroups: gmane.linux.man, gmane.linux.file-systems |
| 653 |
#. Date: 2014-04-17 13:40:05 GMT |
| 654 |
#. type: Plain text |
| 655 |
#. #-#-#-#-# fedora-rawhide: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 656 |
#. There was an inconsistency in Linux 3.15-rc1, that should be resolved so that all |
| 657 |
#. filesystems use this error for this case. (Tytso says ex4 will change.) |
| 658 |
#. http://thread.gmane.org/gmane.comp.file-systems.xfs.general/60485/focus=5521 |
| 659 |
#. From: Michael Kerrisk (man-pages <mtk.manpages@...> |
| 660 |
#. Subject: Re: [PATCH v5 10/10] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate |
| 661 |
#. Newsgroups: gmane.linux.man, gmane.linux.file-systems |
| 662 |
#. Date: 2014-04-17 13:40:05 GMT |
| 663 |
#. type: Plain text |
| 664 |
#. #-#-#-#-# mageia-cauldron: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 665 |
#. There was an inconsistency in Linux 3.15-rc1, that should be resolved so that all |
| 666 |
#. filesystems use this error for this case. (Tytso says ex4 will change.) |
| 667 |
#. http://thread.gmane.org/gmane.comp.file-systems.xfs.general/60485/focus=5521 |
| 668 |
#. From: Michael Kerrisk (man-pages <mtk.manpages@...> |
| 669 |
#. Subject: Re: [PATCH v5 10/10] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate |
| 670 |
#. Newsgroups: gmane.linux.man, gmane.linux.file-systems |
| 671 |
#. Date: 2014-04-17 13:40:05 GMT |
| 672 |
#. type: Plain text |
| 673 |
#. #-#-#-#-# opensuse-leap-16-1: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 674 |
#. There was an inconsistency in Linux 3.15-rc1, that should be resolved so that all |
| 675 |
#. filesystems use this error for this case. (Tytso says ex4 will change.) |
| 676 |
#. http://thread.gmane.org/gmane.comp.file-systems.xfs.general/60485/focus=5521 |
| 677 |
#. From: Michael Kerrisk (man-pages <mtk.manpages@...> |
| 678 |
#. Subject: Re: [PATCH v5 10/10] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate |
| 679 |
#. Newsgroups: gmane.linux.man, gmane.linux.file-systems |
| 680 |
#. Date: 2014-04-17 13:40:05 GMT |
| 681 |
#. type: Plain text |
| 682 |
#. #-#-#-#-# opensuse-tumbleweed: fallocate.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 683 |
#. There was an inconsistency in Linux 3.15-rc1, that should be resolved so that all |
| 684 |
#. filesystems use this error for this case. (Tytso says ex4 will change.) |
| 685 |
#. http://thread.gmane.org/gmane.comp.file-systems.xfs.general/60485/focus=5521 |
| 686 |
#. From: Michael Kerrisk (man-pages <mtk.manpages@...> |
| 687 |
#. Subject: Re: [PATCH v5 10/10] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate |
| 688 |
#. Newsgroups: gmane.linux.man, gmane.linux.file-systems |
| 689 |
#. Date: 2014-04-17 13:40:05 GMT |
| 690 |
#. type: Plain text |
| 691 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 692 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 693 |
msgid "" |
| 694 |
"I<mode> is B<FALLOC_FL_COLLAPSE_RANGE>, B<FALLOC_FL_ZERO_RANGE>, or " |
| 695 |
"B<FALLOC_FL_INSERT_RANGE>, but the file referred to by I<fd> is not a " |
| 696 |
"regular file." |
| 697 |
msgstr "" |
| 698 |
|
| 699 |
#. type: TP |
| 700 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 701 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 702 |
#, no-wrap |
| 703 |
msgid "B<EIO>" |
| 704 |
msgstr "" |
| 705 |
|
| 706 |
#. type: Plain text |
| 707 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 708 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 709 |
msgid "An I/O error occurred while reading from or writing to a filesystem." |
| 710 |
msgstr "" |
| 711 |
|
| 712 |
#. type: TP |
| 713 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 714 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 715 |
#, no-wrap |
| 716 |
msgid "B<ENODEV>" |
| 717 |
msgstr "" |
| 718 |
|
| 719 |
#. type: Plain text |
| 720 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 721 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 722 |
msgid "" |
| 723 |
"I<fd> does not refer to a regular file or a directory. (If I<fd> is a pipe " |
| 724 |
"or FIFO, a different error results.)" |
| 725 |
msgstr "" |
| 726 |
|
| 727 |
#. type: TP |
| 728 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 729 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 730 |
#, no-wrap |
| 731 |
msgid "B<ENOSPC>" |
| 732 |
msgstr "" |
| 733 |
|
| 734 |
#. type: Plain text |
| 735 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 736 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 737 |
msgid "" |
| 738 |
"There is not enough space left on the device containing the file referred to " |
| 739 |
"by I<fd>." |
| 740 |
msgstr "" |
| 741 |
|
| 742 |
#. type: TP |
| 743 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 744 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 745 |
#, no-wrap |
| 746 |
msgid "B<ENOSYS>" |
| 747 |
msgstr "" |
| 748 |
|
| 749 |
#. type: Plain text |
| 750 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 751 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 752 |
msgid "This kernel does not implement B<fallocate>()." |
| 753 |
msgstr "" |
| 754 |
|
| 755 |
#. type: TP |
| 756 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 757 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 758 |
#, no-wrap |
| 759 |
msgid "B<EOPNOTSUPP>" |
| 760 |
msgstr "" |
| 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 |
"The filesystem containing the file referred to by I<fd> does not support " |
| 767 |
"this operation; or the I<mode> is not supported by the filesystem containing " |
| 768 |
"the file referred to by I<fd>." |
| 769 |
msgstr "" |
| 770 |
|
| 771 |
#. type: TP |
| 772 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 773 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 774 |
#, no-wrap |
| 775 |
msgid "B<EPERM>" |
| 776 |
msgstr "" |
| 777 |
|
| 778 |
#. type: Plain text |
| 779 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 780 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 781 |
msgid "The file referred to by I<fd> is marked immutable (see B<chattr>(1))." |
| 782 |
msgstr "" |
| 783 |
|
| 784 |
#. type: Plain text |
| 785 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 786 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 787 |
msgid "" |
| 788 |
"I<mode> specifies B<FALLOC_FL_PUNCH_HOLE>, B<FALLOC_FL_COLLAPSE_RANGE>, or " |
| 789 |
"B<FALLOC_FL_INSERT_RANGE> and the file referred to by I<fd> is marked append-" |
| 790 |
"only (see B<chattr>(1))." |
| 791 |
msgstr "" |
| 792 |
|
| 793 |
#. type: Plain text |
| 794 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 795 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 796 |
msgid "The operation was prevented by a file seal; see B<fcntl>(2)." |
| 797 |
msgstr "" |
| 798 |
|
| 799 |
#. type: TP |
| 800 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 801 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 802 |
#, no-wrap |
| 803 |
msgid "B<ESPIPE>" |
| 804 |
msgstr "" |
| 805 |
|
| 806 |
#. type: Plain text |
| 807 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 808 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 809 |
msgid "I<fd> refers to a pipe or FIFO." |
| 810 |
msgstr "" |
| 811 |
|
| 812 |
#. type: TP |
| 813 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 814 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 815 |
#, no-wrap |
| 816 |
msgid "B<ETXTBSY>" |
| 817 |
msgstr "" |
| 818 |
|
| 819 |
#. type: Plain text |
| 820 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 821 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 822 |
msgid "" |
| 823 |
"I<mode> specifies B<FALLOC_FL_COLLAPSE_RANGE> or B<FALLOC_FL_INSERT_RANGE>, " |
| 824 |
"but the file referred to by I<fd> is currently being executed." |
| 825 |
msgstr "" |
| 826 |
|
| 827 |
#. type: SH |
| 828 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 829 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 830 |
#, no-wrap |
| 831 |
msgid "STANDARDS" |
| 832 |
msgstr "" |
| 833 |
|
| 834 |
#. type: Plain text |
| 835 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 836 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 837 |
msgid "Linux." |
| 838 |
msgstr "" |
| 839 |
|
| 840 |
#. type: SH |
| 841 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 842 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 843 |
#, no-wrap |
| 844 |
msgid "HISTORY" |
| 845 |
msgstr "" |
| 846 |
|
| 847 |
#. type: TP |
| 848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 850 |
#, no-wrap |
| 851 |
msgid "B<fallocate>()" |
| 852 |
msgstr "" |
| 853 |
|
| 854 |
#. type: Plain text |
| 855 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 856 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 857 |
msgid "Linux 2.6.23, glibc 2.10." |
| 858 |
msgstr "" |
| 859 |
|
| 860 |
#. type: TP |
| 861 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 862 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 863 |
#, no-wrap |
| 864 |
msgid "B<FALLOC_FL_*>" |
| 865 |
msgstr "" |
| 866 |
|
| 867 |
#. See http://sourceware.org/bugzilla/show_bug.cgi?id=14964 |
| 868 |
#. type: Plain text |
| 869 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 870 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 871 |
msgid "glibc 2.18." |
| 872 |
msgstr "" |
| 873 |
|
| 874 |
#. type: SH |
| 875 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 876 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 877 |
#, no-wrap |
| 878 |
msgid "SEE ALSO" |
| 879 |
msgstr "" |
| 880 |
|
| 881 |
#. type: Plain text |
| 882 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 883 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 884 |
msgid "" |
| 885 |
"B<fallocate>(1), B<ftruncate>(2), B<posix_fadvise>(3), B<posix_fallocate>(3)" |
| 886 |
msgstr "" |
| 887 |
|
| 888 |
#. type: TH |
| 889 |
#: debian-trixie |
| 890 |
#, no-wrap |
| 891 |
msgid "2024-05-02" |
| 892 |
msgstr "" |
| 893 |
|
| 894 |
#. type: TH |
| 895 |
#: debian-trixie |
| 896 |
#, no-wrap |
| 897 |
msgid "Linux man-pages 6.9.1" |
| 898 |
msgstr "" |
| 899 |
|
| 900 |
#. type: Plain text |
| 901 |
#: debian-trixie |
| 902 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 903 |
msgstr "" |
| 904 |
|
| 905 |
#. type: Plain text |
| 906 |
#: debian-trixie |
| 907 |
#, no-wrap |
| 908 |
msgid "B<int fallocate(int >I<fd>B<, int >I<mode>B<, off_t >I<offset>B<, off_t >I<len>B<);>\n" |
| 909 |
msgstr "" |
| 910 |
|
| 911 |
#. type: Plain text |
| 912 |
#: debian-trixie |
| 913 |
msgid "" |
| 914 |
"B<fallocate>() allows the caller to directly manipulate the allocated disk " |
| 915 |
"space for the file referred to by I<fd> for the byte range starting at " |
| 916 |
"I<offset> and continuing for I<len> bytes." |
| 917 |
msgstr "" |
| 918 |
|
| 919 |
#. type: Plain text |
| 920 |
#: debian-trixie |
| 921 |
msgid "" |
| 922 |
"The default operation (i.e., I<mode> is zero) of B<fallocate>() allocates " |
| 923 |
"the disk space within the range specified by I<offset> and I<len>. The file " |
| 924 |
"size (as reported by B<stat>(2)) will be changed if I<offset>+I<len> is " |
| 925 |
"greater than the file size. Any subregion within the range specified by " |
| 926 |
"I<offset> and I<len> that did not contain data before the call will be " |
| 927 |
"initialized to zero. This default behavior closely resembles the behavior " |
| 928 |
"of the B<posix_fallocate>(3) library function, and is intended as a method " |
| 929 |
"of optimally implementing that function." |
| 930 |
msgstr "" |
| 931 |
|
| 932 |
#. type: Plain text |
| 933 |
#: debian-trixie |
| 934 |
msgid "" |
| 935 |
"After a successful call, subsequent writes into the range specified by " |
| 936 |
"I<offset> and I<len> are guaranteed not to fail because of lack of disk " |
| 937 |
"space." |
| 938 |
msgstr "" |
| 939 |
|
| 940 |
#. type: Plain text |
| 941 |
#: debian-trixie |
| 942 |
msgid "" |
| 943 |
"If the B<FALLOC_FL_KEEP_SIZE> flag is specified in I<mode>, the behavior of " |
| 944 |
"the call is similar, but the file size will not be changed even if " |
| 945 |
"I<offset>+I<len> is greater than the file size. Preallocating zeroed blocks " |
| 946 |
"beyond the end of the file in this manner is useful for optimizing append " |
| 947 |
"workloads." |
| 948 |
msgstr "" |
| 949 |
|
| 950 |
#. type: Plain text |
| 951 |
#: debian-trixie |
| 952 |
msgid "" |
| 953 |
"Specifying the B<FALLOC_FL_PUNCH_HOLE> flag (available since Linux 2.6.38) " |
| 954 |
"in I<mode> deallocates space (i.e., creates a hole) in the byte range " |
| 955 |
"starting at I<offset> and continuing for I<len> bytes. Within the specified " |
| 956 |
"range, partial filesystem blocks are zeroed, and whole filesystem blocks are " |
| 957 |
"removed from the file. After a successful call, subsequent reads from this " |
| 958 |
"range will return zeros." |
| 959 |
msgstr "" |
| 960 |
|
| 961 |
#. commit 00f5e61998dd17f5375d9dfc01331f104b83f841 |
| 962 |
#. type: Plain text |
| 963 |
#: debian-trixie |
| 964 |
msgid "" |
| 965 |
"Specifying the B<FALLOC_FL_COLLAPSE_RANGE> flag (available since Linux 3.15) " |
| 966 |
"in I<mode> removes a byte range from a file, without leaving a hole. The " |
| 967 |
"byte range to be collapsed starts at I<offset> and continues for I<len> " |
| 968 |
"bytes. At the completion of the operation, the contents of the file " |
| 969 |
"starting at the location I<offset+len> will be appended at the location " |
| 970 |
"I<offset>, and the file will be I<len> bytes smaller." |
| 971 |
msgstr "" |
| 972 |
|
| 973 |
#. type: Plain text |
| 974 |
#: debian-trixie |
| 975 |
msgid "" |
| 976 |
"A filesystem may place limitations on the granularity of the operation, in " |
| 977 |
"order to ensure efficient implementation. Typically, I<offset> and I<len> " |
| 978 |
"must be a multiple of the filesystem logical block size, which varies " |
| 979 |
"according to the filesystem type and configuration. If a filesystem has " |
| 980 |
"such a requirement, B<fallocate>() fails with the error B<EINVAL> if this " |
| 981 |
"requirement is violated." |
| 982 |
msgstr "" |
| 983 |
|
| 984 |
#. type: Plain text |
| 985 |
#: debian-trixie |
| 986 |
msgid "" |
| 987 |
"If the region specified by I<offset> plus I<len> reaches or passes the end " |
| 988 |
"of file, an error is returned; instead, use B<ftruncate>(2) to truncate a " |
| 989 |
"file." |
| 990 |
msgstr "" |
| 991 |
|
| 992 |
#. commit 409332b65d3ed8cfa7a8030f1e9d52f372219642 |
| 993 |
#. type: Plain text |
| 994 |
#: debian-trixie |
| 995 |
msgid "" |
| 996 |
"Specifying the B<FALLOC_FL_ZERO_RANGE> flag (available since Linux 3.15) in " |
| 997 |
"I<mode> zeros space in the byte range starting at I<offset> and continuing " |
| 998 |
"for I<len> bytes. Within the specified range, blocks are preallocated for " |
| 999 |
"the regions that span the holes in the file. After a successful call, " |
| 1000 |
"subsequent reads from this range will return zeros." |
| 1001 |
msgstr "" |
| 1002 |
|
| 1003 |
#. type: Plain text |
| 1004 |
#: debian-trixie |
| 1005 |
msgid "" |
| 1006 |
"If the B<FALLOC_FL_KEEP_SIZE> flag is additionally specified in I<mode>, the " |
| 1007 |
"behavior of the call is similar, but the file size will not be changed even " |
| 1008 |
"if I<offset>+I<len> is greater than the file size. This behavior is the " |
| 1009 |
"same as when preallocating space with B<FALLOC_FL_KEEP_SIZE> specified." |
| 1010 |
msgstr "" |
| 1011 |
|
| 1012 |
#. commit dd46c787788d5bf5b974729d43e4c405814a4c7d |
| 1013 |
#. type: Plain text |
| 1014 |
#: debian-trixie |
| 1015 |
msgid "" |
| 1016 |
"Specifying the B<FALLOC_FL_INSERT_RANGE> flag (available since Linux 4.1) " |
| 1017 |
"in I<mode> increases the file space by inserting a hole within the file size " |
| 1018 |
"without overwriting any existing data. The hole will start at I<offset> and " |
| 1019 |
"continue for I<len> bytes. When inserting the hole inside file, the " |
| 1020 |
"contents of the file starting at I<offset> will be shifted upward (i.e., to " |
| 1021 |
"a higher file offset) by I<len> bytes. Inserting a hole inside a file " |
| 1022 |
"increases the file size by I<len> bytes." |
| 1023 |
msgstr "" |
| 1024 |
|
| 1025 |
#. type: Plain text |
| 1026 |
#: debian-trixie |
| 1027 |
msgid "I<offset>+I<len> exceeds the maximum file size." |
| 1028 |
msgstr "" |
| 1029 |
|
| 1030 |
#. FIXME . (raise a kernel bug) Probably the len==0 case should be |
| 1031 |
#. a no-op, rather than an error. That would be consistent with |
| 1032 |
#. similar APIs for the len==0 case. |
| 1033 |
#. See "Re: [PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition" |
| 1034 |
#. 21 Sep 2012 |
| 1035 |
#. http://thread.gmane.org/gmane.linux.file-systems/48331/focus=1193526 |
| 1036 |
#. type: Plain text |
| 1037 |
#: debian-trixie |
| 1038 |
msgid "I<offset> was less than 0, or I<len> was less than or equal to 0." |
| 1039 |
msgstr "" |
| 1040 |
|
| 1041 |
#. type: Plain text |
| 1042 |
#: debian-trixie |
| 1043 |
msgid "" |
| 1044 |
"I<mode> is B<FALLOC_FL_COLLAPSE_RANGE> and the range specified by I<offset> " |
| 1045 |
"plus I<len> reaches or passes the end of the file." |
| 1046 |
msgstr "" |
| 1047 |
|
| 1048 |
#. type: Plain text |
| 1049 |
#: debian-trixie |
| 1050 |
msgid "" |
| 1051 |
"I<mode> is B<FALLOC_FL_COLLAPSE_RANGE> or B<FALLOC_FL_INSERT_RANGE>, but " |
| 1052 |
"either I<offset> or I<len> is not a multiple of the filesystem block size." |
| 1053 |
msgstr "" |
| 1054 |
|
| 1055 |
#. type: TH |
| 1056 |
#: fedora-44 fedora-rawhide |
| 1057 |
#, no-wrap |
| 1058 |
msgid "2024-11-17" |
| 1059 |
msgstr "" |
| 1060 |
|
| 1061 |
#. type: TH |
| 1062 |
#: fedora-44 fedora-rawhide |
| 1063 |
#, no-wrap |
| 1064 |
msgid "Linux man-pages 6.13" |
| 1065 |
msgstr "" |
| 1066 |
|
| 1067 |
#. type: TH |
| 1068 |
#: mageia-cauldron |
| 1069 |
#, no-wrap |
| 1070 |
msgid "Linux man-pages 6.17" |
| 1071 |
msgstr "" |
| 1072 |
|
| 1073 |
#. type: TH |
| 1074 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1075 |
#, no-wrap |
| 1076 |
msgid "Linux man-pages (unreleased)" |
| 1077 |
msgstr "" |