[Gllug] Cygwin confusion...
general_email at technicalbloke.com
general_email at technicalbloke.com
Sat Mar 27 21:29:42 UTC 2010
general_email at technicalbloke.com wrote:
> John Edwards wrote:
>
>> Here's the cygwin docs on /dev devices and the corresponding
>> Windows device names:
>> http://www.cygwin.com/cygwin-ug-net/using-specialnames.html
>>
>>
>>
>>
>
> Thanks, clearly I skimmed through that a bit too fast first time! :)
>
> Also found the --output-position=<pos> option in the ddrescue man pages
> so I reckon I'm set now.
>
> Cheers,
>
> Roger.
>
>
Spoke a bit too soon there...
This is what the using-specialnames bit of the docs reckons (I think)...
$ ./ddrescue.exe -n -v --input-position 121506468b --input-position
121506468b
if=\device\harddisk1 of=Z:\dee.img Z:\log_file.log
ddrescue: cannot open input file: No such file or directory
This is the same but with unix path separators...
$ ./ddrescue.exe -n -v --input-position 121506468b --input-position
121506468b
if=/device/harddisk1 of=Z:\dee.img Z:\log_file.log
ddrescue: cannot open input file: No such file or directory
This is the syntax that worked for dd...
$ ./ddrescue.exe -r0 -v --input-position 121506468b --input-position
121506468b
if=\\?\Device\Harddisk1 of=Z:\dee.img Z:\log_file.log
cygwin warning:
MS-DOS style path detected: if=\?DeviceHarddisk1
Preferred POSIX equivalent is: if=/?DeviceHarddisk1
CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
ddrescue: cannot open input file: No such file or directory
This is what the above error suggests...
$ ./ddrescue.exe -r0 -v --input-position 121506468b --input-position
121506468b
if=/?DeviceHarddisk1 of=Z:\dee.img Z:\log_file.log
ddrescue: cannot open input file: No such file or directory
Also if=/dev/hdb didn't work.
I haven't tried windows drive letters as I have the drive unmounted so
it hasn't got a drive letter, likewise df and cat /proc/partitions are
no help.
Any ideas?
Thanks,
Roger.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list