> -----Original Message----- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@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 ]: > > Advantages: > - Memory is way faster then HDD/SSD, so it could speed things up > - "SSD amortization" is less > > Disadvantages: > - Security? [ how to set this up to be secure? any clear howtos/links > regarding it? :O ] > > Really thank you for any good help... >
In rc.conf: tmpmfs="YES" tmpsize="2G" tmpmfs_flags="-S" That'll do it :) -- Regards, T. Koeman, MTh/BSc/BPsy; Technical Monk MediaMonks B.V. (www.mediamonks.com) Please quote relevant replies in correspondence. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"