]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/tool/ventoy_lib.sh
Update for Ventoy2Disk.exe
[Ventoy.git] / INSTALL / tool / ventoy_lib.sh
index 0e6f9b6aae7dbc8278e8919f4d58aaa4fb407229..c108197a0b7680f26ac4248147e294984668b2f1 100644 (file)
@@ -90,6 +90,8 @@ get_disk_part_name() {
         echo ${DISK}p${2}
     elif echo $DISK | grep -q "/dev/mmcblk[0-9]"; then
         echo ${DISK}p${2}
+    elif echo $DISK | grep -q "/dev/nbd[0-9]"; then
+        echo ${DISK}p${2}
     else
         echo ${DISK}${2}
     fi