Merge "Add exfat fs in fs_mgr" into main

This commit is contained in:
Treehugger Robot 2023-11-24 10:55:29 +00:00 committed by Gerrit Code Review
commit bc907c00f4

View file

@ -115,8 +115,8 @@ bool TryPathMount(FstabEntry* rec, const std::string& mount_pt) {
return true;
}
static const std::vector<std::string> supported_fs{"ext4", "squashfs", "vfat", "f2fs", "erofs",
"none"};
static const std::vector<std::string> supported_fs{"ext4", "squashfs", "vfat", "exfat", "f2fs",
"erofs", "none"};
if (std::find(supported_fs.begin(), supported_fs.end(), rec->fs_type) == supported_fs.end()) {
LERROR << "unknown fs_type \"" << rec->fs_type << "\" for " << mount_point;
return false;