This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: partition devices


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]