lots of updates, some t11 stuff
[distro-setup] / check-subvol-stale
index a3d0149e24fa574ccec2d62a5e427db81935851e..f012c4f97459f38d0e24ff75df3f13c7fca68dfb 100644 (file)
@@ -27,8 +27,9 @@ usage: $0 SUBVOL_MOUNTPOINT... | -p SUBVOL_PATH...
 In git this is not not executable because it's meant to be installed
 using ./install-my-scripts
 
-If latest subvols \$@ are not mounted, print a message, and print
-the unstale subvol name into /nocow/btrfs-stale/\$subvol
+Print the unstale subvol name into /nocow/btrfs-stale/\$subvol
+
+If latest subvols \$@ are not mounted, print a message to terminal.
 
 Fresh is opposite of stale. To be fresh, either SUBVOL_MOUNTPOINT is a
 snapshot of the latest, or the latest snapshot is snapshot of
@@ -83,6 +84,7 @@ d() {
 }
 
 # duplicated in mount-latest-sub
+# Reassign $1 var from /dev/dm- to corresponding /dev/mapper/
 mapper-dev() {
   local mapdev
   local -n devref=$1