Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Tue, 25 Feb 2003 12:18:34 +0100 From: Corinna Vinschen 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 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 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/