various updates
[distro-setup] / mount-latest-subvol
index d2e41f33f7e4f65388019d28b068d8860ebad8aa..93a085a8e20e764e85d43153480f1a58b924507d 100644 (file)
@@ -28,8 +28,8 @@ Usage: ${0##*/} [OPTIONS]
 -v|--verbose  Be more verbose
 
 
-Note, at source location, intentionally not executable, run and read
-install-my-scripts.
+Note: In git this is not not executable because it's meant to be installed
+using ./install-my-scripts
 
 Note: Uses util-linux getopt option parsing: spaces between args and
 options, short options can be combined, options before args.
@@ -243,6 +243,21 @@ $crypt_dev  /q  btrfs  noatime,subvol=q,gid=1000$mopts  0 0
 EOF
 fi
 
+f=(/mnt/root/btrbk/qr.*); f=${f[0]}
+if [[ -e $f ]]; then
+  fstab <<EOF
+$crypt_dev  /qr  btrfs  noatime,subvol=qr$mopts  0 0
+EOF
+fi
+
+f=(/mnt/root/btrbk/ar.*); f=${f[0]}
+if [[ -e $f ]]; then
+  fstab <<EOF
+$crypt_dev  /ar  btrfs  noatime,subvol=ar,uid=1000,gid=1000$mopts  0 0
+EOF
+fi
+
+
 f=(/mnt/o/btrbk/o.*); f=${f[0]}
 if [[ -e $f ]]; then
   fstab <<EOF