Re: root runs out of space



On Wed, 01 Nov 2006 12:51:35 -0700, zero1 wrote:

My root directory is sitting on /sda1 and has only 1 GB. Now I often get
"disk full" massage because the /tmp directory is sitting in it. Is there a
way I can allocate some space from other part of pertitions to root
directory without re-installation? Or can someone show me how to re-direct
the /tmp onto a different pertition?

If you have any unpartitioned space, you could create a partition
specially for /tmp (can be a good idea for security reasons). Otherwise,
you could make /tmp a symlink to say /var/tmp (assuming you have plenty of
free space on your /var partition):

rm -rf /tmp
ln -s /var/tmp /tmp

You may want to do this from single-user mode - minimise the chances that
something else is currently using /tmp
.