mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Some file systems/device combinations reject 512-byte direct writes with EINVAL but accept 4 KiB writes. Try 4 KiB blocks before skipping the direct I/O test. * tests/dd/direct.sh: Probe 512-byte blocks first and fall back to 4 KiB blocks. Use the selected input and output block sizes in each test case, and size the short input to one byte less than a block. Link: https://github.com/coreutils/coreutils/pull/406