Pierre Neidhardt <ambre...@gmail.com> 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.

Reply via email to