delorie.com/archives/browse.cgi | search |
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 |
Importance: | Normal |
Subject: | Filename syntax question |
To: | cygwin AT sourceware DOT cygnus DOT com |
X-Mailer: | Lotus Notes Release 5.0.3 (Intl) 21 March 2000 |
Message-ID: | <OFC759F2DA.20FF3F26-ON852569E4.004EEECD@raleigh.ibm.com> |
From: | "Ed Bradford" <egb AT us DOT ibm DOT com> |
Date: | Tue, 30 Jan 2001 09:28:54 -0500 |
X-MIMETrack: | Serialize by Router on D04NM302/04/M/IBM(Release 5.0.3 (Intl)|21 March 2000) at |
01/30/2001 09:28:57 AM | |
MIME-Version: | 1.0 |
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 ".". (Incidentally, this works to save and restore a system partition. All issues about locked files are circumvented. Just make sure the system is very quiet.) How does one enter a filename like "\\.\c:" (or any other drive for that matter) into the cygwin utilities? Thank you. Ed Your Windows 2000 Arborist T/L 589-4410; Outside: 1-919-993-4410 egb AT us DOT ibm DOT com -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |