1
I'm using Example 3 from gddrescue's documentation here to zero-write a disk and force pending bad sectors on it to be reallocated.
The same documentation states elsewhere that:
If mapfile does not exist, ddrescue will create it.
But when I run Example 3 near-verbatim:
ddrescue -vvvv --fill-mode=- -f --synchronous /dev/zero /dev/sdc mapfile.txt
...I get the error:
ddrescue: Mapfile 'mapfile.txt' does not exist or is not readable.
If I run:
ddrescue -vvvv --fill-mode=- -f --synchronous /dev/zero /dev/sdc -m /cygdrive/b/users/user/desktop/mapfile.txt
...I get a truncated version of the same error:
ddrescue: Mapfile '/cygdrive/b/users/user/desktop/mapfile.txt' does not exist or is not
I'm using gddrescue
on Windows 7, via Cygwin.
Is this a bug with the Cygwin implementation of dd
, or am I missing something?
My bad, I hadn't actually seen this answer, didn't get a notif for it for some reason. Your answer does answer the question, and looks it will be the accepted answer, but it would be really useful if you could explain to me what the last sentence actually means - I read it a few times before posting this question, but couldn't understand what it was saying for the life of me. Specifically, the "...whose status character from mapfile coincides with one of the type characters specified as argument" part. In plain English, what exactly are status characters and type characters here? – Hashim – 2018-04-30T23:00:23.750