delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/14/08:16:36

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: Thu, 14 Sep 2000 13:15:51 +0100
Message-ID: <3881-Thu14Sep2000131551+0100-starksb@ebi.ac.uk>
X-Mailer: emacs 20.7.1 (via feedmail 9-beta-7 I);
VM 6.75 under Emacs 20.7.1
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
Subject: Re: dd if=/cygdrive/a of=foo.img doesn't work
In-Reply-To: <01bb01c01dca$48941f00$f7c723cb@lifelesswks>
References: <000913093111C2 DOT 21827 AT weba8 DOT iname DOT net>
<20000913115426 DOT A1120 AT DP>
<01bb01c01dca$48941f00$f7c723cb AT lifelesswks>

On Thursday 14 Sep 00, Robert Collins writes:
> Perhaps this could be FAQ'd? I had a look and couldn't see it there..

If someone can supply me with a suitable entry, I'll add it to the
FAQ.  Sorry to be ignorant, but I've never used this and I don't know
the details well enough to explain them myself.

This is from Corinna's message <http://sources.redhat.com/ml/cygwin/1999-12/msg00493.html>:

> If you want to use raw devices with cygwin you have to mount them.
> Some examples:
> 
>   mount -f -b -s //./F:  /dev/hdb2             # partition
>   mount -f -b -s //./physicaldrive0 /dev/hda   # hard disk
>   mount -f -b -s //./tape0 /dev/st0            # rewind tape
>   mount -f -b -s //./tape0 /dev/nst0           # same as norewind
> 
> In further commands you have to use the mountpoints for correct
> results:
> 
>   dd if=/dev/hdb2 of=/dev/null bs=1024k
>   zero | dd of=/dev/hdb2 bs=1024k

But I'm not familiar with the naming conventions.  For example, why
'//./F:' instead of just 'F:'?  Are the other names just examples, or
is that how one must refer to them?  (Similarly for /dev/fd0?)

If these are documented elsewhere I can point that out in the FAQ.

Thanks,
David


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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