This is the mail archive of the
mailing list for the Cygwin project.
Re: partition devices
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 25 Feb 2003 12:18:34 +0100
- Subject: Re: partition devices
- References: <email@example.com>
- Reply-to: cygwin at cygwin dot com
On Mon, Feb 24, 2003 at 05:35:20PM -0600, Robert Citek wrote:
> Hello all,
> On a dual boot Windows/Linux system, how can I determine which device
> corresponds to /dev/hda5?
> >From the docs, each /dev/sdaX is supposed to map to a partition. For example,
> /dev/sda1 --> partition 1 on first disk (drive C:\)
> When I use fdisk under linux, it tells me my disk has seven partitions: 1
> primary (hda1), 1 extended (hda4) and 5 logical (hda5-9). hda1 is a FAT32
> partition. hda5 is ext2, a 40 MB /boot partition. hda9 is an NTFS
> partition. However, when I boot into Windows, /dev/hda9 is not /dev/sda9.
> Instead, /dev/hda9 is now /dev/sda4.
> So which /dev/sda? partition is /dev/hda5?
Why do you think there should be a 1:1 correspondence? Each OS can do
this to it's own liking. Just try.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin at cygwin dot com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html