Freeing up disk space

What are the places in the file system that can be deleted safely to recover disk space. To be specific is it safe to delete /var/cache/pkg/* ? if so what other places are similar (can be deleted) to free disk space.
 
Yup, /var/cache/pkg/* is a good candidate, as is /usr/ports/distilfes if you build your own packages locally.

ADDED: You can also check for crash dumps in /var/crash or wherever you store them, if you do.
 
You can also search for large files under a path that you might want to delete with something like find . -type f -size +25M -exec du -m {} \; | sort -n.

If you want directory totals something like du -sm * | sort -n can help.
 
Back
Top