fi
done
+ # if we unmounted some but not all, restore them and move on
if ! $umount_ret; then
for dir in ${unmounted[@]}; do
mnt $dir
continue
fi
+ #### begin dealing with leaf vols ####
# todo: decipher /mnt/root, like we do in check-subvol-stale
cd /mnt/root
if [[ -e $vol ]]; then
done
## end expire leaf vols ##
fi
+ #### end dealing with leaf vols ####
+
# Note, we make a few assumptions in this script, like
# $d was not a different subvol id than $vol, and
# things otherwise didn't get mounted very strangely.
done
stale_dir=/nocow/btrfs-stale
rm -f $stale_dir/$d
+
+ if [[ $vol == a ]]; then
+ # useful to keep this at the latest version
+ /a/exe/install-my-scripts
+ fi
done
### disabled