View Single Post
  #9   (View Single Post)  
Old 11th June 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

Nowadays I use tmpfs(5) for the /tmp directory. This will use a combination of swap and/or free memory :

Code:
# dev                   mount           FStype  Options                                 Dump    Pass#
#-----------            -----           -----   -------------------                     ----    ----
tmpfs                   /tmp            tmpfs   rw,mode=01777,size=2147483648           0       0
#
# calculate the size with 'echo 1024^2 | bc' for size in MB
# calculate the size with  "echo '2 * 1024^3' | bc" for size in GB
# NOTE: you cannot use 'noatime' for tmpfs !
# ------------------------------------------
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote