Root directory filling up...

Nikolas Britton freebsd at nbritton.org
Sun Dec 12 09:37:26 PST 2004


Kiffin Gish wrote:

>I recently decided to dump windows and take a much deserved breather with
>FreeBSD. So I installed 5.3 and was in for a real treat!
>
>However, I created a /-directory with 4G and installed the complete ports
>stuff from the CD. Now my root directory is almost filled up (after I
>installed all the Gnome Desktop stuff).
>
>I always do a make clean. Is there an easier way to only keep the ports
>stuff that is 'really' required?
>
>I noticed that there are tons of tarballs etc. in the /usr/ports/distfiles
>directory. Is it safe to delete all of these?
>
>Are there any other suggestions to keep my root directory from filling up?
>
>  
>
What do you mean / is filling up? the default during install is to make
5 partitions /, Swap, /tmp, /var, and /usr.

See mine for example:
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a    739M     64M    616M     9%    /
devfs                1.0K    1.0K      0B   100%    /dev
/dev/ad0s1e    739M     15M    665M     2%    /tmp
/dev/ad0s1f     69G     25G     38G    40%    /usr
/dev/ad0s1d    739M     59M    621M     9%    /var
/dev/ad1s1      28G     24G    3.8G    86%    /mnt
linprocfs          4.0K    4.0K      0B   100%    /usr/compat/linux/proc

The most you should need for / is 128MB (I think that is default during
install)


please sent the output of these commands "df -h", "more /etc/fstab", and
"disklabel ad0s1"



More information about the freebsd-newbies mailing list