From owner-freebsd-questions@FreeBSD.ORG Sun Jan 23 19:12:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92A26106566C for ; Sun, 23 Jan 2011 19:12:25 +0000 (UTC) (envelope-from root@mediamonks.net) Received: from mail.mediamonks.net (mail.mediamonks.net [217.195.117.200]) by mx1.freebsd.org (Postfix) with ESMTP id 3015E8FC17 for ; Sun, 23 Jan 2011 19:12:24 +0000 (UTC) X-CGP-Sophos: Scanned and found clean X-Abuse-Info: Send abuse reports about this email to abuse@mediamonks.net Received: from [217.195.122.32] (account terrence@mediamonks.com) by mail.mediamonks.net (CommuniGate Pro IMAP 5.4c1) with XMIT id 6721996; Sun, 23 Jan 2011 20:12:23 +0100 Date: Sun, 23 Jan 2011 20:13:23 +0100 Organization: MediaMonks B.V. Message-Id: In-Reply-To: <12db3210cd2.-2509072410058136592.-3952788888916668261@zoho.com> MIME-Version: 1.0 Thread-Topic: putting "/tmp" to memory Priority: Normal Importance: normal X-MSMail-Priority: normal X-Priority: 3 Sensitivity: Normal Thread-Index: Acu7MZqrBJ0WnrXNRV+E3AQkj744pQ== From: "Terrence Koeman" To: "kellyremo" , "freebsd-questions@freebsd.org" X-Mailer: CommuniGate Pro MAPI Connector 1.52.53.1/1.53.11.1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: Subject: RE: putting "/tmp" to memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2011 19:12:25 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@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=3D"YES" tmpsize=3D"2G" tmpmfs_flags=3D"-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.