Root directory filling up...
Kiffin Gish
kiffin.gish at planet.nl
Mon Dec 13 11:50:20 PST 2004
Nikolas Britton wrote:
> 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"
>
> _______________________________________________
> freebsd-newbies at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to
> "freebsd-newbies-unsubscribe at freebsd.org"
>
bash-2.05b$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s4a 3.9G 2.5G 1.1G 70% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad0s4d 7.4G 5.9M 6.8G 0% /home
This was the recommended setup according to the book The Complete
FreeBSD, but now I realize this is probably not the best choice.
bash-2.05b$ more /etc/fstab
# Device Mountpoint FStype Options Dump
Pass#
/dev/ad0s4b none swap sw 0 0
/dev/ad0s4a / ufs rw 1 1
/dev/ad0s4d /home ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
su-2.05b# disklabel ad0s1
disklabel: /dev/ad0s1: no valid label found
More information about the freebsd-newbies
mailing list