[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mount /tmp as tmpfs?
From: |
Clément Lassieur |
Subject: |
Re: Mount /tmp as tmpfs? |
Date: |
Thu, 17 May 2018 20:21:13 +0200 |
User-agent: |
mu4e 1.0; emacs 25.3.1 |
Pierre Neidhardt <address@hidden> writes:
> I was wondering if it's commendable to mount /tmp as tmpfs with GuixSD.
> I think it could be useful to speed up Guix builds.
>
> What would be the best way to do so?
> Can't test now, but what about
>
> (file-system
> (mount-point "/tmp")
> (device "tmpfs")
> (type "tmpfs")
> (flags '(no-dev no-suid))
>
> ?
I use:
(file-system
(mount-point "/tmp")
(device "none")
(title 'device)
(type "tmpfs")
(check? #f))
And it works perfectly.