Subject: Re: df doesn't agree with me...
To: NetBSD <netbsd@bvjtoday.co.jp>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-mac68k
Date: 02/17/1999 13:37:00
Hmm - maybe its a bug in the MacOS side mkfs?
Could someone with a spare disk test it out to see if using
MacOS side mkfs gives the problem?
David/absolute
-=- Why _do_ we crucify ourselves? -=-
On Wed, 17 Feb 1999, NetBSD wrote:
> my 2 cents ;-)
>
> I had a similar experience running 1.3 (Generic). I ran newfs on every
> partition and successfully have df reporting what seems like a more
> plausible report for multiple partitions
> / /usr /var /home
>
> man newfs and see if it has any appeal for you, if so it could be a way to
> fix things. It worked for me
>
> ------------------- reply seperator ---------------------------
>
> Chris wrote:
>
> >
> >The only thing I haven't been able to figure out is why df is lying to me.
> >
> >This is the output I get when I type df:
> >
> >Filesystem 1K-blocks Used Avail Capacity Mounted on
> >/dev/sd0a 49391 11670 32781 26% /
> >/dev/sd0g 247262 192880 29655 87% /usr
> >/dev/sd0d 97677 1484 86425 2% /var
> >/dev/sd0f 282000 102551 151249 40% /home
> >/dev/sd0h 346189 282009 29561 91% /tmp
> >kernfs 1 1 0 100% /kern
> >procfs 4 4 0 100% /proc
> >
> >Next is the output from disklabel, and the actual partition sizes as I
> >created them. The sectors are 512k, so divide by 2 to compare with the
> >numbers above. The one that worries me the most is /tmp , which should
> >be 66510 kbytes, but instead is showing up as 346189, with only 29561
> >free. Yet du says /tmp is only using 9 blocks...
> >
> >8 partitions:
> ># size offset fstype [fsize bsize cpg]
> >a: 102400 122976 4.2BSD 0 0 0 # (Cyl. 316*- 580*)
> >b: 122880 96 swap # (Cyl. 0*- 316*)
> >c: 1431760 0 unused 0 0 # (Cyl. 0 - 3690*)
> >d: 202300 634976 4.2BSD 0 0 0 # (Cyl. 1636*- 2157*)
> >e: 79984 1351776 HFS # (Cyl. 3483*- 3690*)
> >f: 381480 837276 4.2BSD 0 0 0 # (Cyl. 2157*- 3141*)
> >g: 409600 225376 4.2BSD 0 0 0 # (Cyl. 580*- 1636*)
> >h: 133020 1218756 4.2BSD 0 0 0 # (Cyl. 3141*- 3483*)
> >
> >Can anybody tell me why df is saying such strange things about the size and
> >capacity of the partitions? I'm running NetBSD-1.3.3-generic.
>
>
>