From owner-freebsd-questions Sun Oct 13 23:00:48 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA29059 for questions-outgoing; Sun, 13 Oct 1996 23:00:48 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA29054 for ; Sun, 13 Oct 1996 23:00:46 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id XAA00359; Sun, 13 Oct 1996 23:00:37 -0700 (PDT) Date: Sun, 13 Oct 1996 23:00:37 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Barry Masterson cc: Freebsd-questions Subject: Re: Cylinders & heads: dmesg VS fdisk In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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): > 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