iankelling.org
/
git
/
distro-setup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ecd48
)
fix account for optional qr mountpoint
author
Ian Kelling
<ian@iankelling.org>
Fri, 6 Feb 2026 05:35:09 +0000
(
00:35
-0500)
committer
Ian Kelling
<ian@iankelling.org>
Fri, 6 Feb 2026 05:35:09 +0000
(
00:35
-0500)
filesystem/usr/local/bin/mount-latest-subvol
patch
|
blob
|
history
diff --git
a/filesystem/usr/local/bin/mount-latest-subvol
b/filesystem/usr/local/bin/mount-latest-subvol
index 9207364dfdd7af37c6d2e388a43816b7ede5cb7a..349049b201ff49d5a54a3256689e1fb86c542915 100755
(executable)
--- a/
filesystem/usr/local/bin/mount-latest-subvol
+++ b/
filesystem/usr/local/bin/mount-latest-subvol
@@
-568,11
+568,15
@@
readonly verbose force
if (( $# )); then
all_vols=( "$@" )
else
- all_vols=(q a o i
qr
)
+ all_vols=(q a o i)
ar_snaps=(/mnt/root/btrbk/ar.*)
if [[ -e /mnt/root/ar ]] || (( ${#ar_snaps[@]} > 0 )); then
all_vols+=(ar)
fi
+ qr_snaps=(/mnt/root/btrbk/qr.*)
+ if [[ -e /mnt/root/qr ]] || (( ${#qr_snaps[@]} > 0 )); then
+ all_vols+=(qr)
+ fi
fi
##### end command line parsing ########