nixos/filesystems: add nfs4 to fsToSkipCheck
This change fixes this system journal warning for `fileSystems.<name>.fsType = "nfs4"` configurations: systemd-fstab-generator[714]: Checking was requested for "192.168.0.6:/data", but it is not a device.
This commit is contained in:
parent
30f6859a3a
commit
3ec90ef87f
|
@ -155,7 +155,7 @@ let
|
|||
|
||||
makeFstabEntries =
|
||||
let
|
||||
fsToSkipCheck = [ "none" "bindfs" "btrfs" "zfs" "tmpfs" "nfs" "vboxsf" "glusterfs" "apfs" "9p" "cifs" "prl_fs" "vmhgfs" ];
|
||||
fsToSkipCheck = [ "none" "bindfs" "btrfs" "zfs" "tmpfs" "nfs" "nfs4" "vboxsf" "glusterfs" "apfs" "9p" "cifs" "prl_fs" "vmhgfs" ];
|
||||
isBindMount = fs: builtins.elem "bind" fs.options;
|
||||
skipCheck = fs: fs.noCheck || fs.device == "none" || builtins.elem fs.fsType fsToSkipCheck || isBindMount fs;
|
||||
# https://wiki.archlinux.org/index.php/fstab#Filepath_spaces
|
||||
|
|
Loading…
Reference in a new issue