Enable f2fs in change filesystem
In android 10 to make f2fs, we use make_f2fs insteaf of mkfs.f2fs Change-Id: If80ce7c122141f7e69431a8f9ca37cba27b915ed
This commit is contained in:
+1
-1
@@ -934,7 +934,7 @@ int GUIAction::getpartitiondetails(std::string arg)
|
||||
DataManager::SetValue("tw_partition_exfat", 1);
|
||||
else
|
||||
DataManager::SetValue("tw_partition_exfat", 0);
|
||||
if (TWFunc::Path_Exists("/system/bin/mkfs.f2fs"))
|
||||
if (TWFunc::Path_Exists("/system/bin/mkfs.f2fs") || TWFunc::Path_Exists("/system/bin/make_f2fs"))
|
||||
DataManager::SetValue("tw_partition_f2fs", 1);
|
||||
else
|
||||
DataManager::SetValue("tw_partition_f2fs", 0);
|
||||
|
||||
Reference in New Issue
Block a user