From 7fdea51613929853c4df86261150bd3782fb81b2 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Mon, 12 Sep 2016 06:20:51 -0700 Subject: [PATCH] make frodo separate /i so we can use btrfs send for backups --- fai/config/hooks/partition.DEFAULT | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fai/config/hooks/partition.DEFAULT b/fai/config/hooks/partition.DEFAULT index 9a8c836..39c0b3f 100755 --- a/fai/config/hooks/partition.DEFAULT +++ b/fai/config/hooks/partition.DEFAULT @@ -339,15 +339,15 @@ $first_boot_dev /boot btrfs noatime,subvol=boot_$DISTRO 0 0 EOF +# these 2 are alternative ways to identify a subvol, i think i prefer the 2nd. if ifclass treetowl; then cat >> /tmp/fai/fstab <<'EOF' UUID=3f7b31cd-f299-40b4-a86b-7604282e2715 /i btrfs noatime 0 2 EOF fi - if ifclass frodo; then cat >> /tmp/fai/fstab <<'EOF' -/q/i /i none bind 0 0 +$first_root_crypt /i btrfs noatime,subvol=i 0 0 EOF fi -- 2.30.2