]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/hook/debian/truenas-disk.sh
Fix the issue (introduced in 1.1.06) that the Ventoy ISO partition cannot be mounted...
[Ventoy.git] / IMG / cpio / ventoy / hook / debian / truenas-disk.sh
index 3a5aaddc7dbb5f21fbe0225730266653a8170bfe..7deda5752636dc4f78356e98e43e046023e221f6 100644 (file)
@@ -27,12 +27,12 @@ VTPATH_OLD=$PATH; PATH=$BUSYBOX_PATH:$VTOY_PATH/tool:$PATH
 ventoy_run_fuse() {
     vtlog "ventoy_run_fuse $*"
 
-    mkdir -p $VTOY_PATH/mnt/fuse
+    mkdir -p $VTOY_PATH/mnt/fuse  $VTOY_PATH/mnt/iso
 
     vtoydm -p -f $VTOY_PATH/ventoy_image_map -d $1 > $VTOY_PATH/ventoy_dm_table
     vtoy_fuse_iso -f $VTOY_PATH/ventoy_dm_table -m $VTOY_PATH/mnt/fuse
-
-    mount -t iso9660  $VTOY_PATH/mnt/fuse/ventoy.iso    $VTOY_PATH/mnt/iso
+    
+    mount -t iso9660 $VTOY_PATH/mnt/fuse/ventoy.iso    $VTOY_PATH/mnt/iso
 }