Tech Tip from Linux Journal
When you're planning the partitioning scheme for your next Linux system, keep in mind that you may want to put /tmp on tmpfs instead of directly on disk and allow extra swap space for the size of /tmp you want. For example, instead of reserving 1GB for /tmp and 1GB for swap, with tmpfs you can use 2GB for swap and reduce the number of partitions you need.
To create a 1GB tmpfs partition, put this in /etc/fstab:
none /tmp tmpfs size=1073741824