Subject: Re: df -k incorrect results?
To: Wenchi Liao <wliao@midway.uchicago.edu>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 04/29/1998 00:37:06
Wenchi Liao wrote:
> Hello.

Hi!
 
> I have a Centris 605 with bsd 1.3.1 generic. 32M ram, 1.25G hard
> drive.  When I run disklabel, I get this (slightly edited):
> 	c:  2503872  0   unused  0     0       # (Cyl.    0 - 6841*)
> So the entire drive is roughly 1G. Minus a tiny mac partition, and the
> total netbsd usable drive space is under a gig. I'm assuming "size" is
> given in sectors, and disklabel reports 512 bytes/sector. Which
> corresponds nicely to the known hard drive size (or at least according
> to hd sc setup).
> 
> I've briefly skimmed the archived mailing list. Is this a known
> problem? or am I just missing something really obvious?

This is a known problem.  What's not quite known is what is actually
causing it :-(  Needless to say, df's output for anything beyond the
first partition is probably wrong.  I'm not sure if there is a PR filed on
this or not. I really need to add this to the FAQ, I guess.

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.