Deploy with stow

This commit is contained in:
2025-06-12 00:31:22 -04:00
parent 9c0ade560c
commit 5e80dc91b1
29 changed files with 149 additions and 44 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Fix the btrfs out of space error
# Copyright 2021-2025 Bryan C. Roessler
# Licensed under the Apache License, Version 2.0
p="${BASH_SOURCE[0]%/*}"; [[ -r $p/script-functions ]] && . "$p"/script-functions || exit 1
is_root
fs=( "/mnt/array" "/mnt/backup" )
# Discard empty blocks
for f in "${fs[@]}"; do
btrfs balance start -dusage=0 "$f"
btrfs balance start -musage=0 "$f"
done