scripts: system: Do not validate network file systems.

Fixes <https://bugs.gnu.org/39551>.

* guix/scripts/system.scm (check-file-system-availability): Ignore file
systems of the NFS type.
This commit is contained in:
Maxim Cournoyer 2020-02-10 15:06:50 -05:00
parent a0d19554cb
commit adbdf188c2
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -571,6 +571,8 @@ (define relevant
(and (file-system-mount? fs)
(not (member (file-system-type fs)
%pseudo-file-system-types))
;; Don't try to validate network file systems.
(not (string-prefix? "nfs" (file-system-type fs)))
(not (memq 'bind-mount (file-system-flags fs)))))
file-systems))