nixos/zfs: improve docs for boot.zfs.devNodes option

Specify more clearly how this is used, and defer to upstream docs for
guidance on selecting it.
This commit is contained in:
Andrew Marshall
2024-10-31 09:04:11 -04:00
parent 0f69b960b8
commit a0de415588
+4 -3
View File
@@ -271,10 +271,11 @@ in
type = lib.types.path;
default = "/dev/disk/by-id";
description = ''
Name of directory from which to import ZFS devices.
Name of directory from which to import ZFS device, this is passed to `zpool import`
as the value of the `-d` option.
This should be a path under /dev containing stable names for all devices needed, as
import may fail if device nodes are renamed concurrently with a device failing.
For guidance on choosing this value, see
[the ZFS documentation](https://openzfs.github.io/openzfs-docs/Project%20and%20Community/FAQ.html#selecting-dev-names-when-creating-a-pool-linux).
'';
};