From owner-freebsd-current@FreeBSD.ORG Sat Dec 12 23:17:26 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA96D106566B for ; Sat, 12 Dec 2009 23:17:26 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.211.172]) by mx1.freebsd.org (Postfix) with ESMTP id 48C028FC08 for ; Sat, 12 Dec 2009 23:17:25 +0000 (UTC) Received: by ywh2 with SMTP id 2so2055776ywh.27 for ; Sat, 12 Dec 2009 15:17:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.101.11.34 with SMTP id o34mr4774851ani.25.1260659845249; Sat, 12 Dec 2009 15:17:25 -0800 (PST) In-Reply-To: <20091212224052.GF1417@arthur.nitro.dk> References: <4B24143E.2060803@gmx.net> <20091212224052.GF1417@arthur.nitro.dk> Date: Sun, 13 Dec 2009 00:17:25 +0100 Message-ID: <367b2c980912121517h8e87f03x639f8a9818ae7a9e@mail.gmail.com> From: Olivier Smedts To: "Simon L. Nielsen" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Daniel Thiele , shaun@freebsd.org, freebsd-current@freebsd.org Subject: Re: Support for geli onetime encryption for /tmp? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Dec 2009 23:17:26 -0000 2009/12/12 Simon L. Nielsen : > On 2009.12.12 23:07:58 +0100, Daniel Thiele wrote: > >> Is there maybe another way to achieve onetime /tmp encryption that >> I am missing? Preferably one that does not involve huge changes to > > Well, I use the simple one - make /tmp a memory file system. =A0locate > is sometimes not too happy with an e.g. 50MB /tmp, but otherwise it > works very well for me. > > [simon@arthur:~] grep tmp /etc/rc.conf > tmpmfs=3D"YES" > tmpsize=3D"50M" What about tmpfs ? [0:16] zozo@q 1002 ~% grep tmp /etc/fstab tmpfs /tmp tmpfs rw,mode=3D1777 0 0 [0:16] zozo@q 1003 ~% df -h /tmp Filesystem Size Used Avail Capacity Mounted on tmpfs 2.9G 12K 2.9G 0% /tmp > > -- > Simon L. Nielsen > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."