mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-18 11:55:38 -04:00
#2282 Samsung exfat driver "sdfat" forbids to write big files - mark sdfat as virtual
This commit is contained in:
parent
3f2fe41e61
commit
2c8b9ab12c
@ -44,8 +44,8 @@ data class MountInfo(val device: String, val mountPoint: String, val fileSystem:
|
|||||||
val doesNotSupport4GBFiles = DOES_NOT_SUPPORT_4GB_FILE_SYSTEMS.contains(fileSystem)
|
val doesNotSupport4GBFiles = DOES_NOT_SUPPORT_4GB_FILE_SYSTEMS.contains(fileSystem)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private val VIRTUAL_FILE_SYSTEMS = listOf("fuse", "sdcardfs")
|
private val VIRTUAL_FILE_SYSTEMS = listOf("fuse", "sdcardfs", "sdfat")
|
||||||
private val SUPPORTS_4GB_FILE_SYSTEMS = listOf("ext4", "exfat")
|
private val SUPPORTS_4GB_FILE_SYSTEMS = listOf("ext4", "exfat")
|
||||||
private val DOES_NOT_SUPPORT_4GB_FILE_SYSTEMS = listOf("fat32", "vfat", "sdfat")
|
private val DOES_NOT_SUPPORT_4GB_FILE_SYSTEMS = listOf("fat32", "vfat")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user