Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread Rich Freeman
On Thu, May 25, 2017 at 12:28 PM, J. Roeleveld wrote: > > Not sure how long ago this was. I'm planning on redoing the whole laptop in > the near future anyway. > > If anyone knows of a better way (that works without TPM) I would like to hear > about it. > I'd read up on

Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread J. Roeleveld
On May 25, 2017 6:06:45 PM GMT+02:00, Rich Freeman wrote: >On Thu, May 25, 2017 at 10:16 AM, J. Roeleveld >wrote: >> On May 25, 2017 1:04:07 PM GMT+02:00, Kai Krakow > wrote: >>>Am Thu, 25 May 2017 08:34:10 +0200 >>>schrieb "J.

Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread Rich Freeman
On Thu, May 25, 2017 at 10:16 AM, J. Roeleveld wrote: > On May 25, 2017 1:04:07 PM GMT+02:00, Kai Krakow wrote: >>Am Thu, 25 May 2017 08:34:10 +0200 >>schrieb "J. Roeleveld" : >> >>> It is possible. I have it set up like that on my

Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread J. Roeleveld
On May 25, 2017 1:04:07 PM GMT+02:00, Kai Krakow wrote: >Am Thu, 25 May 2017 08:34:10 +0200 >schrieb "J. Roeleveld" : > >> It is possible. I have it set up like that on my laptop. >> Apart from a small /boot partition. The whole drive is encrypted. >>

Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread Rich Freeman
On Thu, May 25, 2017 at 7:04 AM, Kai Krakow wrote: > Am Thu, 25 May 2017 08:34:10 +0200 > schrieb "J. Roeleveld" : > >> It is possible. I have it set up like that on my laptop. >> Apart from a small /boot partition. The whole drive is encrypted. >>

Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread Mick
On Thursday 25 May 2017 04:45:24 Martin Vaeth wrote: > Andrew Savchenko wrote: > > For similar needs I found zswap the most suitable, it's so much > > > better than zram: > This sounds like one is an alternative to the other. > This is not the case. It can even make sense to

Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread J. Roeleveld
On May 25, 2017 5:38:35 AM GMT+02:00, Kai Krakow wrote: >Am Wed, 24 May 2017 12:30:36 -0700 >schrieb Rich Freeman : > >> On Wed, May 24, 2017 at 11:34 AM, Ian Zimmerman >> wrote: >> > On 2017-05-24 08:00, Kai Krakow wrote: >> > >> >>

Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread J. Roeleveld
It is possible. I have it set up like that on my laptop. Apart from a small /boot partition. The whole drive is encrypted. Decryption keys are stored encrypted in the initramfs, which is embedded in the kernel. -- Joost On May 25, 2017 12:40:12 AM GMT+02:00, Rich Freeman

Re: [gentoo-user] Re: tmp on tmpfs

2017-05-24 Thread Rich Freeman
On Wed, May 24, 2017 at 2:16 PM, Andrew Savchenko wrote: > > Apparently it is pointless to encrypt swap if unencrypted > hibernation image is used, because all memory is accessible through > that image (and even if it is deleted later, it can be restored > from hdd and in some

Re: [gentoo-user] Re: tmp on tmpfs

2017-05-24 Thread Andrew Savchenko
On Wed, 24 May 2017 12:30:36 -0700 Rich Freeman wrote: > On Wed, May 24, 2017 at 11:34 AM, Ian Zimmerman wrote: > > On 2017-05-24 08:00, Kai Krakow wrote: > > > >> Unix semantics suggest that /tmp is not expected to survive reboots > >> anyways (in contrast, /var/tmp is expected

Re: [gentoo-user] Re: tmp on tmpfs

2017-05-24 Thread Rich Freeman
On Wed, May 24, 2017 at 11:34 AM, Ian Zimmerman wrote: > On 2017-05-24 08:00, Kai Krakow wrote: > >> Unix semantics suggest that /tmp is not expected to survive reboots >> anyways (in contrast, /var/tmp is expected to survive reboots), so >> tmpfs is a logical consequence to use