[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ddrescue] Appending zeroes by seek is not working
From: |
Pavel Roskin |
Subject: |
Re: [Bug-ddrescue] Appending zeroes by seek is not working |
Date: |
Mon, 15 Dec 2014 20:53:59 -0500 |
Hello Antonio,
I hope you know that dd creates an empty file when it's asked to copy
zero bytes, and least on GNU/Linux.
dd if=/dev/zero of=foo bs=1M count=0 seek=1
Maybe it's not portable, but it works for me. That's why I was
surprised by the behavior of ddrescue.
I googled "empty domain" and found that it's a mathematical term. I
didn't know that. My university education wasn't in English. Perhaps
ddrescue should be friendlier to users without advanced degrees.
"Empty domain" from a piece of software sounded more like a network
problem, perhaps due to a bogus argument to strerror().
I don't see anything wrong with "Nothing to do", even without "Empty
domain". Except that both imply that copying data is the main purpose
of ddrescue and extending the file is a minor preparation job that can
be omitted if not needed. If "ddrescue" was written with that
mentality and nobody except me sees that as an unpleasant surprise, I
guess I should just accept it and use dd for extending files without
copying.
--
Regards,
Pavel Roskin