diff options
author | Richard Sent <richard@freakingpenguin.com> | 2024-06-01 19:26:18 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-06-04 12:08:34 +0200 |
commit | 3e87b207ce96679e2f289a5522a248d38c4f3962 (patch) | |
tree | 8901c5cf6509e934a6e3a1bc5ef1b6dc389e0307 /guix/scripts | |
parent | 9d6c4f5160c872bf8813d9e75f80a9f0157bf769 (diff) | |
download | guix-patches-3e87b207ce96679e2f289a5522a248d38c4f3962.tar guix-patches-3e87b207ce96679e2f289a5522a248d38c4f3962.tar.gz |
file-systems: Add support for mounting CIFS file systems
* gnu/build/file-systems (canonicalize-device-name): Do not attempt to resolve
CIFS formatted device specifications.
(mount-file-systems): Add mount-cifs nested function.
* gnu/machine/ssh.scm (machine-check-file-system-availability): Skip checking
for CIFS availability, similar to NFS.
* guix/scripts/system.scm (check-file-system-availability): Likewise.
Change-Id: I182e290eba64bbe5d1332815eb93bb68c01e0c3c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix/scripts')
-rw-r--r-- | guix/scripts/system.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 2260bcf985..99c58f3812 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -591,7 +591,8 @@ any, are available. Raise an error if they're not." (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 (or (string-prefix? "nfs" (file-system-type fs)) + (string-prefix? "cifs" (file-system-type fs)))) (not (memq 'bind-mount (file-system-flags fs))))) file-systems)) |