From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: Re: Mount /tmp as tmpfs? Date: Fri, 18 May 2018 10:53:22 +0000 Message-ID: <20180518105322.32gkwuvxqxis6fae@abyayala> References: <87y3gigqp8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJd0N-00020o-Ps for help-guix@gnu.org; Fri, 18 May 2018 06:53:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJd0M-00070j-NC for help-guix@gnu.org; Fri, 18 May 2018 06:52:59 -0400 Received: from conspiracy.of.n0.is ([2a01:4f8:1c0c:7ad0::1]:48794) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fJd0M-0006zy-DC for help-guix@gnu.org; Fri, 18 May 2018 06:52:58 -0400 Content-Disposition: inline In-Reply-To: <87y3gigqp8.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: "help-guix@gnu.org" 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