delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/30/10:10:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 30 Jan 2001 16:09:36 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Filename syntax question
Message-ID: <20010130160936.C3877@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <OFC759F2DA DOT 20FF3F26-ON852569E4 DOT 004EEECD AT raleigh DOT ibm DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <OFC759F2DA.20FF3F26-ON852569E4.004EEECD@raleigh.ibm.com>; from egb@us.ibm.com on Tue, Jan 30, 2001 at 09:28:54AM -0500

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:

http://www.cygwin.com/cygwin-ug-net/using-specialnames.html#AEN769


Hope, that helps,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019