# su - root
# mkdir //tmp
# chown root.root //tmp
# chmod 1777 //tmp
# export TEMP=/
# export TMPDIR=/
# su - root
# rmdir //tmp
# unset TEMP
# unset TMPDIR
I think your the man. I will do this tonight. Is it possible for you to (in s small nutshell) explain what these commands are doing?
why "- root" on the first command?
on "export TEMP=/" do I need to place the path of where I want it ; "export TEMP=/media/hd4/TMP" or are they just as written. I wanted to move it to /media/hd4/TMP, but it failed when typed like this last night:
export TMPDIR=/media/hd4/TMP
Anyhow, I will try as you wrote it tonight and post the results. Thanks
Main Topics
Browse All Topics





by: uetian1707Posted on 2008-05-20 at 11:50:49ID: 21609051
Hi,
Please paste the results of below:
1- Memory
#grep MemTotal /proc/meminfo
2-Disk Space
# df -h
3-Swapspace
#grep SwapTotal /proc/meminfo
Also you can create a new /tmp using the below commands:
you can temporarily create a tmp directory in another filesystem. Here is how you can do this:
# su - root
# mkdir //tmp
# chown root.root //tmp
# chmod 1777 //tmp
# export TEMP=/
# export TMPDIR=/
# su - root
# rmdir //tmp
# unset TEMP
# unset TMPDIR