From: Ian Kelling Date: Tue, 24 Feb 2026 04:06:33 +0000 (-0500) Subject: automate missing /nocow X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=3676e1d8da716383b7d5b613ecd92bf5c96e8f57;p=automated-distro-installer automate missing /nocow --- 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 <