Thursday 14 January 2016

Re: RFC on Cloud Images: Make /tmp a tmpfs

On Thu, Jan 14, 2016 at 12:05 AM, Seth Arnold <seth.arnold@canonical.com> wrote:
> On Wed, Jan 13, 2016 at 11:00:16PM +0100, Martin Pitt wrote:
>> In a perfect world we'd have some clever tmpfs file system which would
>> use RAM as available and start overflowing onto a disk partition
>> (which could be LUKS with a random key) when necessary.. But even
>
> In fact this is what happens, 'unused' data from tmpfs heads to swap. So
> just configure swap space on your systems.

Moreover, just 'sudo apt-get install swapspace' and watch as swapfiles
are created/deleted as needed. If your root disk is lvm-encrypted,
then obviously such swap files are encrypted, too.

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel