delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/25/06:19:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 25 Feb 2003 12:18:34 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: partition devices
Message-ID: <20030225111834.GK1677@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3 DOT 0 DOT 5 DOT 32 DOT 20030224173520 DOT 00e758c0 AT mail DOT earthlink DOT net>
Mime-Version: 1.0
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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019