Subject: bug#25917: [PATCH] services: Don't check filesystem even if #:check? if not #:needed-for-boot.

From: [email-masked] (Ludovic Courtès)
Date: Tue, 14 Mar 2017 21:18:37 +0100

Hi Danny,

Danny Milosavljevic <[email-masked]> 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 check / mount it. Why?

It has (mount? #t), that’s why it’s mounting and checking it.

With (mount? #f), it wouldn’t do anything other than adding a line in
/etc/fstab.

Ludo’.