dd: warn when we disable oflag=direct not at EOF
authorPádraig Brady <P@draigBrady.com>
Fri, 25 Feb 2011 12:27:25 +0000 (12:27 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 5 Mar 2011 01:48:55 +0000 (01:48 +0000)
commite1788d9ed9c22811ab73163270cfc11ed36c8abd
tree2dc6e40a1ce16c99c5fe261adb45a8a73494d2ed
parentcaaf2899f67d312d76af91add2a4d9f7be2d5c61
dd: warn when we disable oflag=direct not at EOF

An alternative to this is to auto enable iflag=fullblock
when oflag=direct and bs= is specified.
It was thought better though, to warn about the specific issue,
and give full control of dd's options to the user.

* src/dd.c (iwrite): Warn, when we write after having
disabled O_DIRECT.
See https://bugzilla.redhat.com/show_bug.cgi?id=614605
src/dd.c