]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - VtoyTool/vtoydm.c
Add VTOY_MAX_SEARCH_LEVEL option in global control plugin
[Ventoy.git] / VtoyTool / vtoydm.c
index ec0cb95302e3a048d6ce84a4e93dca7ed7dbc510..cb0fc89362efc46469e6d5febff219932efa262a 100644 (file)
@@ -507,7 +507,7 @@ static int vtoydm_print_linear_table(const char *img_map_file, const char *diskn
                (sector_start << 2), disk_sector_num, 
                diskname, (unsigned long long)chunk[i].disk_start_sector);
         #else
-        if (strstr(diskname, "nvme") || strstr(diskname, "mmc"))
+        if (strstr(diskname, "nvme") || strstr(diskname, "mmc") || strstr(diskname, "nbd"))
         {
             printf("%u %u linear %sp1 %llu\n", 
                (sector_start << 2), disk_sector_num,