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 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> <31b7d2790709191253v6a8b6587u7960a2a3fc390826 AT mail DOT gmail DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/