mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-08 03:59:40 +01:00
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:
parent
a0d19554cb
commit
adbdf188c2
1 changed files with 2 additions and 0 deletions
|
@ -571,6 +571,8 @@ any, are available. Raise an error if they're not."
|
||||||
(and (file-system-mount? fs)
|
(and (file-system-mount? fs)
|
||||||
(not (member (file-system-type fs)
|
(not (member (file-system-type fs)
|
||||||
%pseudo-file-system-types))
|
%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)))))
|
(not (memq 'bind-mount (file-system-flags fs)))))
|
||||||
file-systems))
|
file-systems))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue