From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#25917: [PATCH] services: Don't check filesystem even if #:check? if not #:needed-for-boot. Date: Tue, 14 Mar 2017 21:18:37 +0100 Message-ID: <87y3w7a9ya.fsf@gnu.org> References: <87wpbw83ev.fsf@gnu.org> <20170312165604.1273-1-dannym@scratchpost.org> <878to9bleb.fsf@gnu.org> <20170313205504.485459c8@scratchpost.org> <87mvcop7wj.fsf@gnu.org> <20170314201809.33feb843@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnsuQ-0004P5-T6 for bug-guix@gnu.org; Tue, 14 Mar 2017 16:19:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnsuM-0005eT-SC for bug-guix@gnu.org; Tue, 14 Mar 2017 16:19:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57863) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cnsuM-0005eP-Ok for bug-guix@gnu.org; Tue, 14 Mar 2017 16:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cnsuM-0006uB-Ah for bug-guix@gnu.org; Tue, 14 Mar 2017 16:19:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170314201809.33feb843@scratchpost.org> (Danny Milosavljevic's message of "Tue, 14 Mar 2017 20:18:09 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 25917@debbugs.gnu.org Hi Danny, Danny Milosavljevic skribis: >> > (file-systems (cons* ... >> > (file-system >> > (device "NO NAME") >> > (title 'label) >> > (mount-point "/mnt/tmp") >> > (type "vfat") >> > (needed-for-boot? #f) >> > (mount? #t) >> > (check? #t)) >> > %base-file-systems)) [...] > However, the above has (needed-for-boot? #f) and Guix still tries to chec= k / mount it. Why? It has (mount? #t), that=E2=80=99s why it=E2=80=99s mounting and checking i= t. With (mount? #f), it wouldn=E2=80=99t do anything other than adding a line = in /etc/fstab. Ludo=E2=80=99.