[bug] dd: misleading "invalid argument" for a filename
From:
Maciej Pilichowski
Subject:
[bug] dd: misleading "invalid argument" for a filename
Date:
Sat, 5 Dec 2009 13:22:20 +0100
Hello,
I am trying to copy data using dd as in this example:
dd if=myfile of=/dev/null bs=16M iflag=direct
The file exists, the filename is correct, the access is granted, in
short -- everything is OK.
Yet, dd shows an error:
dd: opening `myfile': Invalid argument
It is misleading, the quoted argument is fine. When I remove iflag,
it works. IOW -- argument is valid, only the given flags cannot be
applied.
PLEASE keep me in CC while replying because I am not subscriber to
this ML. Thank you.
Cheers,