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

