From 3676e1d8da716383b7d5b613ecd92bf5c96e8f57 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Mon, 23 Feb 2026 23:06:33 -0500 Subject: [PATCH] automate missing /nocow --- fai/config/hooks/partition.DEFAULT | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/fai/config/hooks/partition.DEFAULT b/fai/config/hooks/partition.DEFAULT index d210a9a..aee20c8 100755 --- a/fai/config/hooks/partition.DEFAULT +++ b/fai/config/hooks/partition.DEFAULT @@ -1311,8 +1311,16 @@ btrfs subvolume set-default 0 /mnt # already default, just ensuring it. # for libreboot systems. grub2 only reads from subvolid=0 mkdir -p /mnt/grub2 -# todo: this would need some rework if we moved boot into -# lvm. + +# initial setup of extra data fs. +btrfs subvol create /mnt/nocow +chattr +C /mnt/nocow +mkdir /mnt/nocow/{t,user} +cat > /tmp/fai/fstab <