Filename syntax question

Corinna Vinschen
Tue Jan 30 07:09:00 GMT 2001

On Tue, Jan 30, 2001 at 09:28:54AM -0500, Ed Bradford wrote:
> I have removed all my MKS utilities in favor of CYGWIN. Ooops, I am
> now stuck. I can't seem to copy disk partitions.
> In cmd.exe mode and with the Microsoft C compiler I wrote a test program
> that simply reads disk partitions. It works like this:
>      readdisk \\.\c:
> Note the "\\.\c:" is the formal Windows 2000 name for the C: partition.
> With
> MKS dd I could literally copy the entire disk partition to a file like
> this:
>      dd if=\\.\c: of=system-save bs=64k
> and all would work. I cannot seem to get any CYGWIN utility to understand
> the
> \\.\c: filename. I have tried
>      dd if=\\\\.\\c: of=x
>      dd if=//./c: of=x
> but neither works. Sometimes cygwin will think I am trying to talk to a
> computer named ".".

Cygwin used to use UNIX names for those raw devices. You will have to
mount them. I have just uploaded the latest changes to the documentation.
Look especially into:

Hope, that helps,

Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

Want to unsubscribe from this list?
Check out:

More information about the Cygwin mailing list