dd Bug using \\.\PhysicalDriveX ?

Scalzott, Todd tscalzott@kastle.com
Wed Sep 19 17:35:00 GMT 2007

I believe that this is part of CORE, which I have at 6.9-5.  I did
update to all of the latest just a short while ago and reverified the
I've discovered what I believe to be a problem with "dd" on several
different XP SP2 systems with Cygwin installed involving the usage of
Windows' \\.\PhysicalDrive nomenclature.
That is, reading from \\.\PhysicalDrive1 with the below command works
    dd if=^\^\.^\PhysicalDrive1 of=tmp.img bs=16384
However, writing to \\.\\PhysicalDrive1 in similar fashion fails with an
    dd if=tmp.img of=^\^\.^\PhysicalDrive1 bs=16384
    dd: opening `\\\\.\\PhysicalDrive1': Invalid argument

PhysicalDrive1 is a removeable drive.

Thank you.

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list