X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/6ded3355272edb9af63d97aad646bbd7c6f12583..0f90149c4e3557137f084bd9de42e86b02b9a73b:/IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh diff --git a/IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh b/IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh index 5fc8bf1..90ebbaf 100644 --- a/IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh +++ b/IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh @@ -36,7 +36,7 @@ if [ "$vtdiskname" = "unknown" ]; then exit 0 fi -if echo $vtdiskname | egrep -q "nvme.*p[0-9]$|mmc.*p[0-9]$"; then +if echo $vtdiskname | egrep -q "nvme.*p[0-9]$|mmc.*p[0-9]$|nbd.*p[0-9]$"; then vPart="${vtdiskname}p2" else vPart="${vtdiskname}2"