putting "/tmp" to memory
corky1951 at comcast.net
Sun Jan 23 20:21:03 UTC 2011
On Sun 23 Jan 2011 at 11:13:23 PST Terrence Koeman wrote:
>> -----Original Message-----
>> From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-
>> questions at freebsd.org] On Behalf Of kellyremo
>> Sent: Sunday, January 23, 2011 14:47
>> To: FreeBSD
>> Subject: putting "/tmp" to memory
>> Importance: High
>> "to memory" means: mounting a ~2 GByte filesystem [ tmpfs?, or ramfs?
>> ], and put the "/tmp" on it. [ e.g.: 4 GByte ram in the pc ]. what to
>> write in the "/etc/fstab"?
>> I would like to collect the [ answers too:P ]:
>> - Memory is way faster then HDD/SSD, so it could speed things up
>> - "SSD amortization" is less
>> - Security? [ how to set this up to be secure? any clear howtos/links
>> regarding it? :O ]
>> Really thank you for any good help...
>That'll do it :)
For other tmpmfs_flags, man mdmfs(8).
My rc.conf, for example, has:
tmpmfs_flags="-m 0 -o async, noatime -S -p 1777"
More information about the freebsd-questions