Support for geli onetime encryption for /tmp?

Olivier Smedts olivier at gid0.org
Sat Dec 12 23:17:26 UTC 2009


2009/12/12 Simon L. Nielsen <simon at freebsd.org>:
> 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.  locate
> is sometimes not too happy with an e.g. 50MB /tmp, but otherwise it
> works very well for me.
>
> [simon at arthur:~] grep tmp /etc/rc.conf
> tmpmfs="YES"
> tmpsize="50M"

What about tmpfs ?

[0:16] zozo at q 1002 ~% grep tmp /etc/fstab
tmpfs   /tmp    tmpfs   rw,mode=1777    0       0
[0:16] zozo at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>



-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier at 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."


More information about the freebsd-current mailing list