Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 1996 23:00:37 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Barry Masterson <jbarrm@panix.com>
Cc:        Freebsd-questions <questions@FreeBSD.ORG>
Subject:   Re: Cylinders & heads: dmesg VS fdisk
Message-ID:  <Pine.BSI.3.94.961013225913.261H-100000@gdi.uoregon.edu>
In-Reply-To: <Pine.BSF.3.91.961012163320.476A-100000@jbarrm.dialup.access.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Oct 1996, Barry Masterson wrote:

> When I run 'dmesg' & 'fdisk', the values for heads & cylinders are
> different for the same disk:
> 
> [dmesg]
> wdc0: unit 0 (wd0): <QUANTUM FIREBALL1080A>
> wd0: 1039MB (2128896 sectors), 2112 cyls, 16 heads, 63 S/T, 512 B/S
>                                ^^^^^^^^^  ^^^^^^^^
> [fdisk]
> ******* Working on device /dev/rwd0 *******
> parameters extracted from in-core disklabel are:
> cylinders=528 heads=64 sectors/track=63 (4032 blks/cyl)
> ^^^^^^^^^^^^^ ^^^^^^^^

There is translation going on. Notice the different blocks/cylinder value
between the outputs.  

> My question is; Why is there a difference in cylinders, & heads on wd0 ;
> why would dmesg & fdisk show different values?

Not knowing the internals on this one, I can't say.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961013225913.261H-100000>