Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 25 Feb 2003 12:18:34 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: partition devices
Message-ID: <20030225111834.GK1677@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <3.0.5.32.20030224173520.00e758c0@mail.earthlink.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3.0.5.32.20030224173520.00e758c0@mail.earthlink.net>
User-Agent: Mutt/1.4i

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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

