md, mount_mfs and swap

Christopher Sean Hilton chris at vindaloo.com
Tue Jun 3 22:05:44 UTC 2008


I've recently started playing with NetBSD and notice that by default  
it mounts /tmp as an MFS backed by swap. A quick read of the md,  
mount_mfs man page would lead me to believe that

      md /tmp rw,async,-s1024m 0 0

will move my /tmp dir to a swap backed 1G space. This would make me  
feel much more comfortable about my continuing adherence to the  
practice of giving my machine twice as much swap space as they have  
memory.

Are there any downsides to this?

-- Chris 


Chris Hilton                                   e: chris|at|vindaloo| 
dot|com
----------------------------------------------------------------------------
                   "The pattern juggler lifts his hand; The orchestra  
begin.
       As slowly turns the grinding wheel in the court of the crimson  
king."
                                            -- Ian McDonald / Peter  
Sinfield





More information about the freebsd-questions mailing list