unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Nils Gillmann <ng0@n0.is>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Mount /tmp as tmpfs?
Date: Fri, 18 May 2018 10:53:22 +0000	[thread overview]
Message-ID: <20180518105322.32gkwuvxqxis6fae@abyayala> (raw)
In-Reply-To: <87y3gigqp8.fsf@gmail.com>

Pierre Neidhardt transcribed 998 bytes:
> 
> 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.

Guix maybe, for a developer system you run out of RAM for everything
that has serious demands in RAM and/or Diskspace for building.

If waste of writes is your concern, getting a separate disk for
/tmp is a good choice. As long as you don't have to build big
applications from source/without substitutes tmpfs is alright.

Been there, tried that and considered it now only for machines that
will never build anything big.

> 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))
> 
> ?
> 
> -- 
> Pierre Neidhardt

  parent reply	other threads:[~2018-05-18 10:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-17 17:03 Mount /tmp as tmpfs? Pierre Neidhardt
2018-05-17 18:21 ` Clément Lassieur
2018-05-17 18:26   ` Pierre Neidhardt
2018-05-18 10:53 ` Nils Gillmann [this message]
2018-05-18 11:20   ` Clément Lassieur
2018-05-18 11:22   ` Pierre Neidhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180518105322.32gkwuvxqxis6fae@abyayala \
    --to=ng0@n0.is \
    --cc=ambrevar@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).