| b52c534b | 30-Sep-2019 |
Matt Macy <[email protected]> |
Add iflag=fullblock to dd
Normally, count=n means read(2) will be called n times on the input to dd. If the read() returns short, as may happen when reading from a pipe, fewer bytes will be copied f
Add iflag=fullblock to dd
Normally, count=n means read(2) will be called n times on the input to dd. If the read() returns short, as may happen when reading from a pipe, fewer bytes will be copied from the input. With conv=sync the buffer is padded with zeros to fill the rest of the block.
iflag=fullblock causes dd to continue reading until the block is full, so that count=n means n full blocks are copied. This flag is compatible with illumos and GNU dd and is used in the ZFS test suite.
Submitted by: Ryan Moeller Reviewed by: manpages, mmacy@ MFC after: 1 week Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D21441
show more ...
|
| 919156e3 | 30-Sep-2019 |
Matt Macy <[email protected]> |
Add oflag=fsync and oflag=sync capability to dd
Sets the O_FSYNC flag on the output file. oflag=fsync and oflag=sync are synonyms just as O_FSYNC and O_SYNC are synonyms. This functionality is inten
Add oflag=fsync and oflag=sync capability to dd
Sets the O_FSYNC flag on the output file. oflag=fsync and oflag=sync are synonyms just as O_FSYNC and O_SYNC are synonyms. This functionality is intended to improve portability of dd commands in the ZFS test suite.
Submitted by: Ryan Moeller Reviewed by: manpages, mmacy@ MFC after: 1 week Sponsored by: iXsytems, Inc. Differential Revision: https://reviews.freebsd.org/D21422
show more ...
|
| 2048fe70 | 30-Sep-2019 |
Matt Macy <[email protected]> |
dd: Check result of close(2) for errors
close(2) can return errors from previous operations which should not be ignored.
PR: 229616 Submitted by: Thomas Hurst Reported by: Thomas Hurst Reviewed by:
dd: Check result of close(2) for errors
close(2) can return errors from previous operations which should not be ignored.
PR: 229616 Submitted by: Thomas Hurst Reported by: Thomas Hurst Reviewed by: mmacy@ Obtained from: Ryan Moeller MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D21376
show more ...
|
| 07c19c27 | 03-Jun-2017 |
Alan Somers <[email protected]> |
Fix bin/dd/dd2_tests:seek_overflow on UFS and TMPFS
Split the postive and negative parts into separate test cases. The positive test case can only run on ZFS, because only ZFS supports files that l
Fix bin/dd/dd2_tests:seek_overflow on UFS and TMPFS
Split the postive and negative parts into separate test cases. The positive test case can only run on ZFS, because only ZFS supports files that large.
PR: 219757 Reported by: ngie MFC after: 18 days X-MFC-with: 319339
show more ...
|