X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/83d91c525fa7e5c5a1866275a8f6bdcd09d62d90..dce5d1b769ff2c404d61d8a60510de624b275337:/LinuxGUI/Ventoy2Disk/Core/ventoy_disk.c diff --git a/LinuxGUI/Ventoy2Disk/Core/ventoy_disk.c b/LinuxGUI/Ventoy2Disk/Core/ventoy_disk.c index 4df2040..a4ac62b 100644 --- a/LinuxGUI/Ventoy2Disk/Core/ventoy_disk.c +++ b/LinuxGUI/Ventoy2Disk/Core/ventoy_disk.c @@ -232,6 +232,12 @@ static int ventoy_is_possible_blkdev(const char *name) { return 0; } + + /* /dev/zramX */ + if (name[0] == 'z' && name[1] == 'r' && name[2] == 'a' && name[3] == 'm') + { + return 0; + } /* /dev/loopX */ if (name[0] == 'l' && name[1] == 'o' && name[2] == 'o' && name[3] == 'p')