aboutsummaryrefslogtreecommitdiff
path: root/scripts/test-configs/raidz1.conf
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-23 21:05:17 -0400
committerCraig Jennings <c@cjennings.net>2026-06-23 21:05:17 -0400
commit73e66b703258270a3d688a51dd90ed2f24401568 (patch)
tree17a8e146a1525912ae3761e5f269043eaa43874a /scripts/test-configs/raidz1.conf
parentedb5016809f3bc657283d8c2402970dbbab3c5cf (diff)
downloadarchangel-73e66b703258270a3d688a51dd90ed2f24401568.tar.gz
archangel-73e66b703258270a3d688a51dd90ed2f24401568.zip
refactor(installer): extract parse_btrfs_subvol_opts helper
mount_btrfs_subvolumes and generate_btrfs_fstab each carried an identical block that composed a subvolume's mount options from BTRFS_OPTS plus the per-subvol extra flags. The two could drift out of sync. Extracted the logic into parse_btrfs_subvol_opts (pure string transform), preserving the exact behavior, and called it from both. Added bats cases covering the default, compress=no, nodatacow, nosuid, and combined paths.
Diffstat (limited to 'scripts/test-configs/raidz1.conf')
0 files changed, 0 insertions, 0 deletions