zfs: support for root dataset mountpoint and mountpoint=none

This commit is contained in:
Jörg Thalheim 2022-08-26 10:28:07 +02:00
parent 57b7c5506a
commit 722dde361c
3 changed files with 36 additions and 10 deletions

View file

@ -16,6 +16,8 @@
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
datasets = [
{
type = "zfs_filesystem";
@ -23,6 +25,11 @@
mountpoint = "/zfs_fs";
options."com.sun:auto-snapshot" = "true";
}
{
type = "zfs_filesystem";
name = "zfs_unmounted_fs";
options.mountpoint = "none";
}
{
type = "zfs_filesystem";
name = "zfs_legacy_fs";