Subject: Is the "df" command reporting accurately?
To: port-Mac68k netbsd mailing list <port-mac68k@netbsd.org>
From: Josh Kuperman <josh@saratoga.lib.ny.us>
List: port-mac68k
Date: 02/06/2001 10:03:19
Thanks to many people on this list I now seem to have a headless
NetBSD system running on my old 660av. It seems that most of my
problems had to do with a Quantum Fireball 1.2G driver. Now, I've
started installing packages (bash so far) and noticed, when I tried
emacs, that I didn't have much space - I am confused about why. As far
as I'm can tell I created 5 partitions a 60MB /, 102MB SWAP, 750MB
/usr, 120 /var and the rest /home about 180 approximately. I look at
the output of the df command to see what's there and what's being used
and it is reporting my /home is larger than my /usr.

Also, it started reporting /home as full before I put anything on it.

roberta# df
Filesystem  1K-blocks     Used     Avail Capacity  Mounted on
/dev/sd0a       62487    14610     41628      25%    /
/dev/sd0e      992264   883059      9978      98%    /var
/dev/sd0g      882193   273902    520071      34%    /usr
/dev/sd0f     1184662  1004683     61512      94%    /home
kernfs              1        1         0     100%    /kern
procfs              4        4         0     100%    /proc
/dev/cd0c      367272   367272         0     100%    /cdrom


And after I cd'ed to /home the largegst file is the emacs package at
11 MB. And even adding everything else it should be relatively empty.

roberta# ls -laR 
total 11
drwxr-xr-x   4 root  wheel   512 Feb  6 04:47 .
drwxr-xr-x  18 root  wheel   512 Feb  6 14:27 ..
drwxr-xr-x   2 josh  users   512 Feb  6 06:11 josh
drwxr-xr-x   2 root  wheel  8192 Dec 30  1934 lost+found

./josh:
total 12411
drwxr-xr-x  2 josh  users       512 Feb  6 06:11 .
drwxr-xr-x  4 root  wheel       512 Feb  6 04:47 ..
-rw-------  1 josh  users        24 Feb  6 06:11 .bash_history
-rw-r--r--  1 josh  users       582 Nov 29 08:03 .cshrc
-rw-r--r--  1 josh  users       239 Nov 29 08:03 .login
-rw-r--r--  1 josh  users       285 Nov 29 08:03 .mailrc
-rw-r--r--  1 josh  users       313 Nov 29 08:03 .profile
-rw-r--r--  1 josh  users         2 Nov 29 08:03 .rhosts
-rw-rw-r--  1 josh  users    782460 Jan 14 17:40 bash-2.04.tgz
-rw-rw-r--  1 josh  users  11805500 Dec 22 05:57 emacs-20.7.tgz
-rw-rw-r--  1 josh  users     83680 Jan 14 15:41 sudo-1.6.3p4.tgz
-rw-rw-r--  1 josh  users        46 Feb  6 05:25 test.txt

./lost+found:
total 9
drwxr-xr-x  2 root  wheel  8192 Dec 30  1934 .
drwxr-xr-x  4 root  wheel   512 Feb  6 04:47 ..
roberta# 


-- 
Josh Kuperman                       
josh@saratoga.lib.ny.us