This commit is contained in:
Shelvacu
2025-07-13 13:32:09 -07:00
committed by Shelvacu on prophecy
parent 26a2e13071
commit 34dd05d062
2 changed files with 2 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ in
cd "$btrfs_tmp"
if [[ -e root ]]; then
mkdir -p old_roots
timestamp=$(date --date="@$(stat -c %Y root)" "+%Y-%m-%-d_%H:%M:%S")
timestamp=$(date --date="@$(stat -c %Y root)" "+%Y-%m-%d_%H:%M:%S")
mv root "old_roots/$timestamp"
fi
btrfs subvolume create ./root

View File

@@ -213,4 +213,5 @@ in
};
};
};
config.boot.zfs.pools.${poolname}.devNodes = "/dev/disk/by-partlabel";
}