Disk (Linux): fix #479

This commit is contained in:
李通洲
2023-07-16 22:39:21 +08:00
parent c79120b99c
commit 80007233fa
+4
View File
@@ -19,6 +19,10 @@ static bool isPhysicalDevice(FFstrbuf* device)
{
#ifndef __ANDROID__ //On Android, `/dev` is not accessable, so that the following checks always fail
//https://askubuntu.com/a/1289123
if(ffStrbufEqualS(device, "/cow"))
return true;
//DrvFs is a filesystem plugin to WSL that was designed to support interop between WSL and the Windows filesystem.
if(ffStrbufEqualS(device, "drvfs"))
return true;