mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-06-05 09:13:59 -04:00
add support for nbd device (PR #746)
This commit is contained in:
parent
3541735796
commit
82977d9b8a
8 changed files with 10 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue