mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-06-03 00:19:56 -04:00
1.0.08beta1
This commit is contained in:
parent
d5b829f8e8
commit
ad9a031092
17 changed files with 189 additions and 73 deletions
|
@ -448,7 +448,7 @@ static int vtoy_check_device(ventoy_os_param *param, const char *device)
|
|||
debug("param->vtoy_disk_size=%llu size=%llu\n",
|
||||
(unsigned long long)param->vtoy_disk_size, (unsigned long long)size);
|
||||
|
||||
if (param->vtoy_disk_size == size &&
|
||||
if ((param->vtoy_disk_size == size || param->vtoy_disk_size == size + 512) &&
|
||||
memcmp(vtguid, param->vtoy_disk_guid, 16) == 0)
|
||||
{
|
||||
debug("<%s> is right ventoy disk\n", device);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue