diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-23 21:05:17 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-23 21:05:17 -0400 |
| commit | 73e66b703258270a3d688a51dd90ed2f24401568 (patch) | |
| tree | 17a8e146a1525912ae3761e5f269043eaa43874a /scripts/sanity-test.sh | |
| parent | edb5016809f3bc657283d8c2402970dbbab3c5cf (diff) | |
| download | archangel-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/sanity-test.sh')
0 files changed, 0 insertions, 0 deletions
