Hello Pavel, Pavel Roskin wrote:
I tried adding zeroes to the end of a file using ddrescue, but it failed.
Just like 'seek', ddrescue does not add zeros unless it writes at least one byte. Writing at least one byte is probably the only portable way of extending a file.
"Empty domain" sounds more cryptic than "Nothing to do". I think it's a regression.
"Empty domain" is the reason why there is nothing to do. So I guess I could change the message to something like "Nothing to do; domain is empty.".
Here's a related but different issue. rm foo ddrescue -o 2048 -s 1 /dev/null foo ls -l foo The resulting file "foo" is 0 bytes long. Apparently, the seek is never performed because /dev/null is empty. I believe the seek should be performed if it's explicitly requested on the command line.
It is about the same issue. If nothing is copied, the file is not extended. Regards, Antonio. _______________________________________________ Bug-ddrescue mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ddrescue
