Subject: too-small partition size? (newbie question)
To: None <port-macppc@NetBSD.ORG>
From: Scott Flodin <scott@scottflodin.com>
List: port-macppc
Date: 09/21/2002 15:03:03
The partition holding my root directory is full. Before I go through
the trouble of re-installing the system and making a larger root
partition, is there something I can do to trim down the files in the
root? (The file "netbsd" does seem fairly large.) Would customizing
the kernel help? Can I customize the kernel with no spare disk space?)
Or am I out of luck and need to start over with a larger root
partition? Thanks in advance. -Scott Flodin
Here's my df:
% df -k
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd0a 31753 31728 -1563 105% /
/dev/sd0g 2800005 453224 2206780 17% /usr
kernfs 1 1 0 100% /kern
and here's my ls -l
% ls -l
total 6954
drwxr-xr-x 2 root wheel 512 Nov 16 2000 altroot
drwxr-xr-x 2 root wheel 512 Nov 16 2000 bin
-r--r--r-- 1 root wheel 54232 Aug 27 1956 boot
drwxr-xr-x 3 root wheel 10752 Aug 27 1956 dev
drwxr-xr-x 16 root wheel 2048 Dec 13 1956 etc
drwxr-xr-x 5 root wheel 512 Aug 29 1956 home
-rw------- 1 root wheel 332456 Dec 13 1956 httpd.core
dr-xr-xr-x 2 root wheel 512 Aug 19 12:06 kern
drwxr-xr-x 2 root wheel 512 Nov 16 2000 mnt
-rwxr-xr-x 1 root wheel 3127881 Nov 19 2000 netbsd
drwxr-xr-x 2 root wheel 512 Aug 27 1956 root
drwxr-xr-x 2 root wheel 1536 Nov 16 2000 sbin
drwxr-xr-x 2 root wheel 512 Nov 16 2000 stand
lrwxr-xr-x 1 root wheel 11 Nov 16 2000 sys -> usr/src/sys
drwxrwxrwt 2 root wheel 512 Dec 13 1956 tmp
drwxr-xr-x 20 root wheel 512 Dec 12 1956 usr
drwxr-xr-x 21 root wheel 512 Dec 13 1956 var