pool command not dataset command.

This commit is contained in:
Joseph Hanson 2024-06-26 10:30:16 -05:00
parent c101f2b587
commit cee7c99533
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -37,6 +37,9 @@
mountpoint = "none"; mountpoint = "none";
acltype = "posixacl"; acltype = "posixacl";
}; };
mountOptions = {
ashift = "12";
};
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank"; postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot@blank$' || zfs snapshot zroot@blank";
@ -44,9 +47,6 @@
root = { root = {
type = "zfs_fs"; type = "zfs_fs";
mountpoint = "/"; mountpoint = "/";
mountOptions = {
ashift = "12";
};
options = { options = {
zfsutil = ""; zfsutil = "";
}; };
@ -55,9 +55,6 @@
nix = { nix = {
type = "zfs_fs"; type = "zfs_fs";
mountpoint = "/nix"; mountpoint = "/nix";
mountOptions = {
ashift = "12";
};
options = { options = {
zfsutil = ""; zfsutil = "";
}; };
@ -66,9 +63,6 @@
var = { var = {
type = "zfs_fs"; type = "zfs_fs";
mountpoint = "/var"; mountpoint = "/var";
mountOptions = {
ashift = "12";
};
options = { options = {
zfsutil = ""; zfsutil = "";
}; };
@ -77,9 +71,6 @@
home = { home = {
type = "zfs_fs"; type = "zfs_fs";
mountpoint = "/home"; mountpoint = "/home";
mountOptions = {
ashift = "12";
};
options = { options = {
"com.sun:auto-snapshot" = "true"; "com.sun:auto-snapshot" = "true";
zfsutil = ""; zfsutil = "";