From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: Mount /tmp as tmpfs? Date: Thu, 17 May 2018 20:21:13 +0200 Message-ID: <87d0xuqh2e.fsf@lassieur.org> References: <87y3gigqp8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJNWm-0001dO-LX for help-guix@gnu.org; Thu, 17 May 2018 14:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJNWi-0006Pg-Jy for help-guix@gnu.org; Thu, 17 May 2018 14:21:24 -0400 Received: from mail.lassieur.org ([83.152.10.219]:38198) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fJNWi-0006Mo-83 for help-guix@gnu.org; Thu, 17 May 2018 14:21:20 -0400 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 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.