stuff
This commit is contained in:

committed by
Shelvacu on prophecy

parent
26a2e13071
commit
34dd05d062
@@ -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
|
||||
|
@@ -213,4 +213,5 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
config.boot.zfs.pools.${poolname}.devNodes = "/dev/disk/by-partlabel";
|
||||
}
|
||||
|
Reference in New Issue
Block a user