Subject: Re: DF ?
To: Frederick Bruckman <fb@enteract.com>
From: Paul Goyette <paul@whooppee.com>
List: port-mac68k
Date: 10/05/1999 05:29:53
I just built a new df from rev 1.33, and still see the problem:

mac1:df {109} head df.c
/*      $NetBSD: df.c,v 1.33 1999/09/24 13:35:21 hubertf Exp $  */

/*
 * Copyright (c) 1980, 1990, 1993, 1994
 *      The Regents of the University of California.  All rights reserved.
 * (c) UNIX System Laboratories, Inc.
 * All or some portions of this file are derived from material licensed
 * to the University of California by American Telephone and Telegraph
 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
 * the permission of UNIX System Laboratories, Inc.
mac1:df {106} make clean
rm -f a.out [Ee]rrs mklog core *.core  df df.o strpct.o  df.ln strpct.ln  
mac1:df {107} make all
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror   -c /usr/src/bin/df/df.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror   -c /usr/src/bin/df/../csh/strpct.c
cc  -static -o df df.o strpct.o 
nroff -Tascii -mandoc /usr/src/bin/df/df.1 > df.cat1
mac1:df {108} ./obj/df
Filesystem               1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a                   497767   387781    85097    82%    /
pc2:/usr/src               7584359  3437515  3767626    47%    /usr/src
pc2:/usr/obj-m68k          7584359  3437515  3767626    47%    /usr/obj
pc2:/usr/home              7584359  3437515  3767626    47%    /home
mfs:93                       19791       12    18789     0%    /tmp
kernfs                           1        1        0   100%    /kern
procfs                           4        4        0   100%    /proc
/usr/src/sys/arch/mac68k   7584359  3437515  3767626    47%    /home/paul/slotman-backup
<above>:/slotman/conf      -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/conf
<above>:/slotman/dev       -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/dev
<above>:/slotman/include   -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/include
<above>:/slotman/mac68k    -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/mac68k
<above>:/slotman/nubus     -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/nubus
<above>:/slotman/obio      -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/obio



On Tue, 5 Oct 1999, Frederick Bruckman wrote:

> On Mon, 4 Oct 1999, Paul Goyette wrote:
> 
> > df is still broken, as least as of a couple weeks ago.  Here's an
> > example from my Mac IIci with a couple of nfs partitions and then some
> > unionfs mounts on top:
> 
> rev 1.33 (current, 9/24) or rev 1.31.2.1 (release 9/26) is supposed to
> fix df for large disks. Do you have one of those?
> 
> Lindsay, you said you were running 1.4.1. You could get the latest
> release version of "df" via anoncvs. E.g.
> 
>  env CVSROOT=:pserver:anoncvs@anoncvs.netbsd.org:/cvsroot cvs login
> 
> password: anoncvs
> 
>  env CVSROOT=:pserver:anoncvs@anoncvs.netbsd.org:/cvsroot cvs co \
>    -rnetbsd-1-4 basesrc/bin/df
>  env CVSROOT=:pserver:anoncvs@anoncvs.netbsd.org:/cvsroot cvs co \
>    -rnetbsd-1-4 basesrc/bin/csh/strpct.c
>  cd basesrc/bin/df; make depend && make
> 
> Then "su" and "make install" (to get the permissions right).
> 
> Maybe that'll fix it.
> 
> 
> 

-----------------------------------------------------------------------
|   Paul Goyette  | PGP DSS Key fingerprint:  | E-mail addresses:     |
| Network Engineer|  BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com    |
| & kernel hacker |  91EB ADB1 A280 3B79 9221 |  pgoyette@juniper.net |
-----------------------------------------------------------------------