--- Begin Message ---
Subject: |
[PATCH] file-systems: Set default value of the check? field to #f for NFS |
Date: |
Thu, 20 Feb 2020 12:15:30 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
The attached patch makes the default value of the <file-system> record
check? filed smarter, and avoids boot failures when using an NFS system
and omitting to specify "check? #f".
There are no checkers for NFS and none are required.
0001-file-systems-Set-default-value-of-the-check-field-to.patch
Description: Text Data
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#39698] [PATCH] file-systems: Set default value of the check? field to #f for NFS |
Date: |
Tue, 03 Mar 2020 00:05:29 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi again,
> Or, to get rid of the warning, what about:
>
> diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm
> index ee6375515f..faf64ce304 100644
> --- a/gnu/build/file-systems.scm
> +++ b/gnu/build/file-systems.scm
> @@ -581,6 +581,7 @@ were found."
> ((string-prefix? "btrfs" type) check-btrfs-file-system)
> ((string-suffix? "fat" type) check-fat-file-system)
> ((string-prefix? "jfs" type) check-jfs-file-system)
> + ((string-prefix? "nfs" type) (const 'pass))
> (else #f)))
I've now pushed the above to master. Closing!
Maxim
--- End Message ---