I've had a few problems recently with the size of my /tmp folder. They are not serious problems, and I can work around them, but I wondered if there was a way to make it bigger. As I understand it, the tmpfs is created in memory, and its default limit is set to half of the RAM. I don't want to increase this limit though, because I am worried that it will get full up and I won't have any RAM left to be used for normal purposes. I have a spare 30GB HDD, and the only thing it has on it is the swap partition. It would be cool if I could just make a 2GB partition on there to mount on the /tmp folder, so I don't ever have this problem again.Does anybody know if this is adviseable or even possible, and if I did this, would I have to put a routine in my shutdown scripts to clean out the partition, or anything like that? Are there security concerns arising from this approach? Anything else I need to know?
Cheers.
]]>