Add exfat fs in fs_mgr

Need to support exfat fs type point mount in recovery mode

Bug:312674538
Test: SIU (Apply update from SD card) in recovery mode

Change-Id: I2735e5068c47b183a25d2305bca89f08de1e32c7
This commit is contained in:
yanxu 2023-11-14 13:57:37 +08:00 committed by Bowgo Tsai
parent c93c5eff0e
commit 3f9f595067

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;