fix music mountpoint
authorIan Kelling <ian@iankelling.org>
Sun, 26 Feb 2023 06:49:56 +0000 (01:49 -0500)
committerIan Kelling <ian@iankelling.org>
Sun, 26 Feb 2023 06:49:56 +0000 (01:49 -0500)
distro-begin

index c3c0c3dae3f0de3ac515f542ffb88402ce5201a1..84ba7c4ac3c3f6ee68027842e254dbc2766c5cc0 100755 (executable)
@@ -637,7 +637,7 @@ case $HOSTNAME in
   kd)
     tu /etc/fstab <<'EOF'
 /dev/mapper/crypt_dev_ata-Samsung_SSD_870_QVO_8TB_S5VUNG0N900656V-part7  /d  btrfs  nofail,x-systemd.device-timeout=30s,x-systemd.mount-timeout=30s,noatime,compress=zstd,subvol=d  0 0
-/i /d/m none  bind,compress=zstd  0 0
+/d/m /i  none  bind,compress=zstd  0 0
 EOF
     if ! mountpoint /d &>/dev/null; then
       sudo mkdir -p /d
@@ -645,6 +645,10 @@ EOF
         sudo mount /d
       fi
     fi
+    if ! mountpoint /i &>/dev/null; then
+      sudo mkdir -p /i
+      sudo mount /i
+    fi
     ;;
   frodo)
     tu /etc/fstab <<'EOF'