feat(Infini-SERVER): move persist to overlayfs
This commit is contained in:
parent
1c20f6ad0f
commit
43e046e007
1 changed files with 8 additions and 7 deletions
|
@ -47,20 +47,21 @@ in
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"/persist" = {
|
# "/persist" = {
|
||||||
device = main;
|
# device = main;
|
||||||
fsType = "btrfs";
|
# fsType = "btrfs";
|
||||||
options = [ "subvol=root" "ssd" ] ++ btrfsOptions;
|
# options = [ "subvol=root" "ssd" ] ++ btrfsOptions;
|
||||||
neededForBoot = true;
|
# neededForBoot = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
"/persist-test" = {
|
"/persist" = {
|
||||||
device = "overlay";
|
device = "overlay";
|
||||||
fsType = "overlay";
|
fsType = "overlay";
|
||||||
options = [
|
options = [
|
||||||
"upperdir=/media/main/root"
|
"upperdir=/media/main/root"
|
||||||
"lowerdir=/media/data/root"
|
"lowerdir=/media/data/root"
|
||||||
"workdir=/media/main/work"
|
"workdir=/media/main/work"
|
||||||
|
"redirect_dir=on"
|
||||||
];
|
];
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue