mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
9d6c4f5160
commit
3e87b207ce
3 changed files with 47 additions and 4 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue