Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

new to Linux here. Can anyone explain me how to increase the size of /tmp?

I was able to increse the size of /dev/mapper/vg00-usr, var and home , but how can I do if the /tmp folder is shown as "none". See my pic. Any help is appreciated!

enter image description here

share|improve this question

migrated from stackoverflow.com Apr 2 '12 at 4:28

This question came from our site for professional and enthusiast programmers.

That looks like the output of the df command. What does mount output? (I'm looking for /tmp's filesystem type.) –  thb Apr 2 '12 at 3:24
add comment

2 Answers

up vote 3 down vote accepted

CentOS use tmpfs for /tmp. Check your /etc/fstab for a line like this :

tmpfs /tmp tmpfs size=4g 0 0 

and change the size accordingly.

share|improve this answer
add comment

I was looking for this info for debian and found this thread after some more digging I just found the solution, just to note how it works here. To use disk instead of ram for tmpsfs edit /etc/default/rcS and set this:


To increase the size of tmp there's another file (/etc/default/tmpfs) you can use


Part of this information have been extracted from here

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.