Home
last modified time | relevance | path

Searched refs:sparse (Results 1 – 12 of 12) sorted by relevance

/coreutils/tests/cp/
Dsparse.sh28 dd bs=1 seek=$size of=sparse < /dev/null 2> /dev/null || framework_failure_
35 cp_no_reflink --sparse=always sparse copy || fail=1
38 test $(stat --printf %b copy) -le $(stat --printf %b sparse) || fail=1
41 returns_ 1 cp --sparse=always --reflink sparse copy || fail=1
42 returns_ 1 cp --sparse=never --reflink sparse copy || fail=1
67 cp_no_reflink --sparse=always file.in sparse.out || fail=1 # non sparse in
68 cp_no_reflink --sparse=always sparse.out sparse.out2 || fail=1 # sparse in
70 cmp file.in sparse.out || fail=1
71 cmp file.in sparse.out2 || fail=1
73 ls -lsh file.in sparse.*
Dsparse-to-pipe.sh30 truncate -s1M sparse || framework_failure_
31 timeout 10 cp sparse pipe || fail=1
36 cmp sparse copy || fail=1
Dsparse-2.sh35 cp --reflink=never --sparse=$i k k2 || fail=1
47 cp --debug --reflink=never --sparse=always k k2 >cp.out || fail=1
52 cp --debug --sparse=never k k2 >cp.out || fail=1
Dsparse-extents.sh59 timeout 3 cp --reflink=never --sparse=always empty.big cp.test || fail=1
76 cp --reflink=never --sparse=$sparse_arg unwritten.withdata cp.test || fail=1
Dreflink-auto.sh38 cp --reflink=auto --sparse=always "$a_other" b || fail=1
Dsparse-extents-2.sh80 cp --reflink=never --sparse=always j1 j2 || fail=1
/coreutils/tests/dd/
Dsparse.sh24 truncate -s1M sparse
25 dd bs=32K if=sparse of=sparse.dd conv=sparse
26 test $(stat -c %s sparse) = $(stat -c %s sparse.dd) || fail=1
32 dd if=file.in bs=1 conv=sparse oflag=append > out
39 dd if=file.in bs=1 conv=sparse,notrunc of=out
43 dd if=file.in bs=1 conv=sparse | cat > file.out
65 dd if=file.in of=file.out ibs=1M obs=2M conv=sparse || fail=1
79 dd if=file.in of=file.out ibs=2M obs=1M conv=sparse,notrunc
/coreutils/gl/lib/
Drandperm.c204 bool sparse = (n >= (128 * 1024)) && (n / h >= 32); in randperm_new() local
209 if (sparse) in randperm_new()
227 if (sparse) in randperm_new()
233 if (sparse) in randperm_new()
/coreutils/
Dinit.cfg550 # Note APFS was seen to not create sparse files < 16MiB
552 warn_ "can't create a sparse file: assuming not SEEK_DATA capable"
596 # Does the current (working-dir) file system support sparse files?
600 # Test whether we can create a sparse file.
602 # NTFS requires 128K before a hole appears in a sparse file.
603 t=sparse.$$
609 skip_ 'this file system does not support sparse files'
DNEWS57 'cp --sparse=never' will avoid copy-on-write (reflinking) and copy offloading,
358 cp --sparse=auto (the default), mv, and install,
359 will use the copy_file_range syscall now also with sparse files.
362 for the non sparse portion of such sparse files.
586 Also, they use lseek+SEEK_HOLE rather than ioctl+FS_IOC_FIEMAP on sparse
1569 and cp --sparse=always avoids speculative preallocation on XFS for example.
1571 cp will read sparse files more efficiently when the destination is a
2037 This could happen with a very fragmented and sparse input file,
2273 dd now accepts the conv=sparse flag to attempt to create sparse
2544 - it now attempts a FIEMAP copy only on a file that appears sparse.
[all …]
/coreutils/tests/
Dlocal.mk116 tests/cp/sparse-extents-2.sh \
498 tests/cp/sparse-extents.sh \
500 tests/cp/sparse-perf.sh \
501 tests/cp/sparse-2.sh \
527 tests/cp/sparse.sh \
528 tests/cp/sparse-to-pipe.sh \
554 tests/dd/sparse.sh \
/coreutils/doc/
Dcoreutils.texi8879 see the @option{--sparse} option below.
9236 @item --sparse=@var{when}
9237 @opindex --sparse=@var{when}
9238 @cindex sparse files, copying
9241 A @dfn{sparse file} contains @dfn{holes} -- a sequence of zero bytes that
9246 heuristic and makes the corresponding output file sparse as well.
9247 Only regular files may be sparse.
9253 The default behavior: if the input file is sparse, attempt to make
9254 the output file sparse, too. However, if an output file exists but
9255 refers to a non-regular file, then do not attempt to make it sparse.
[all …]