I have read the documentation on tmpfs filesystem. This talks about the mount option size which can be used like given below in the file /etc/fstab tmpfs /tmp tmpfs defaults,size=20% 0 0

Please note ...