[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /tmp is too small



On 11.06.2012 09:34, Jerome Flesch wrote:
2012/6/7 Hendrik Boom<hendrik@topoi.pooq.com>:
I need more space for /tmp.  I though, easy, I'll just take out the /tmp
entry in /etc/fstab so that it doesn't mount anything on /tmp and uses
the the space on the root partition, which has more than room enough.
But then I discover that in my newly installed wheezy system, there *is*
no /etc/fstab entry for /tmp.  Apparently the kernel, all  by itself,
decides to mount the tmpfs on /tmp.

How can I get it not to do this?

Edit /etc/default/rcS and switch RAMTMP=yes to RAMTMP=no.

If you're on a workstation, it should be fine as-is.

I can't agree with assertion that this default behaviour is fine. I use "Eclipse" in my work, and yesterday i was ready to crash my head, because Eclipse showed me an error that it had not enough space to downloading and installing special plugin, which i was needed. I've checked 10 times that all file systems had enough space, in the end i've found the problem by doing `watch -n 1 df -h`. The /tmp folder (which was mounted like tmpfs) was filling only when extracting of the plugin was active. All I want to say, that sometimes this /tmp which mounted like tmpfs can lead to problems which is hard to find.

--
Cheers,
Roman V.Leon.


Reply to: