This is the mail archive of the
mailing list for the Cygwin project.
Re: dd Bug using \.\PhysicalDriveX ?
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
...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,
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html