diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-04 19:54:58 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-06 09:41:50 +0200 |
commit | 5929322ccb1f9d27c1b07b746d37419d17a7cbf6 (patch) | |
tree | 685ca3efe05ce619b33392ea499ad87c1c7a620c /NEWS | |
parent | 365fb90eaae52c92d6af8e87769e72b872492f4a (diff) | |
download | coreutils-5929322ccb1f9d27c1b07b746d37419d17a7cbf6.tar.xz |
dd: work around buffer length restrictions with oflag=direct (O_DIRECT)
dd oflag=direct would fail to copy a file with size that is
not a multiple of 512 (destination file system specific)
* NEWS (Bug fixes): Mention it.
* src/dd.c (iwrite): Turn off O_DIRECT for any
smaller-than-obs-sized write. Don't bother to restore it.
* tests/dd/direct: New test for the above.
* tests/Makefile.am (TESTS): Add dd/direct.
* doc/coreutils.texi (dd invocation): Mention oflag=direct
buffer size restriction.
Details in http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/17586
Reported by Eric Sandeen.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4,6 +4,9 @@ GNU coreutils NEWS -*- outline -*- ** Bug fixes + dd's oflag=direct option now works even when the size of the input + is not a multiple of e.g., 512 bytes. + install runs faster again with SELinux enabled [introduced in coreutils-7.0] |