rm -rf /tmp; ln -s /home2/tmp /tmp

My /tmp directory is on the / partition, which only has 100 MB.

I would like to make it bigger. Is this a safe way of doing it?

cd /
rm -rf tmp
ln -s /home2/tmp tmp # /home2/tmp is an existing directory
/sbin/reboot

I'm worried that some critical system functions might screw up while /tmp doesn't exist.

 

 

 

 

Top