delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/20/04:02:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 20 Sep 2007 10:01:47 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: dd Bug using \.\PhysicalDriveX ?
Message-ID: <20070920080147.GE22259@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200709191738 DOT l8JHc8sW019686 AT zuul DOT kastle DOT com> <loom DOT 20070919T201553-694 AT post DOT gmane DOT org> <31b7d2790709191253v6a8b6587u7960a2a3fc390826 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <31b7d2790709191253v6a8b6587u7960a2a3fc390826@mail.gmail.com>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sep 19 14:53, DePriest, Jason R. wrote:
> On 9/19/07, Eric Blake <> wrote:
> > Scalzott, Todd <> writes:
> > > 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's your problem.  Cygwin is a Linux emulation, and use of Window's \\.\
> > nomenclature is not guaranteed to work.  Using the corresponding posix-y name
> > is more likely to succeed, in which case the bug is not in dd but in your usage.
> >
> > [...]
> I concur with Eric Blake.  I have used dd, dd_rescue, aimage, and the
> sleuthkit under Cygwin using the /dev/sdX nomenclature.
> It works once you can figure out which /dev/sdX corresponds to which
> device+partition.

...which isn't that tricky.  In the Disk Management tool (for instance
right click "My Computer" -> "Manage" to get there via the "Computer
Management" admin tool) disks are numbered "Disk 0", "Disk 1", etc.
This order corresponds with /dev/sda, /dev/sdb, etc.  Partitions are
numbered left to right.  /dev/sda1 corresponds to the first partition,
etc.

Similar for CD-ROM and DVD drives.  In the Disk Management tool they are
numbered "CD-ROM 0", "CD-ROM 1", etc, which corresponds to /dev/sr0,
/dev/sr1, etc..  Alternatively to /dev/scd0, /dev/scd1, etc.

For tape drives, have a look into the Device Manager.  The properties
dialog of each tape drive has a tab "Tape Symbolic Name".  Tape0
corresponds to /dev/st0, /dev/nst0, Tape1 to /dev/st1, /dev/nst1, etc.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

- Raw text -


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