From 3f9f5950673057c6283b40386747d96bc3e71507 Mon Sep 17 00:00:00 2001 From: yanxu Date: Tue, 14 Nov 2023 13:57:37 +0800 Subject: [PATCH] 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 --- fs_mgr/fs_mgr_roots.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs_mgr/fs_mgr_roots.cpp b/fs_mgr/fs_mgr_roots.cpp index 2ad8125e7..a697fb3de 100644 --- a/fs_mgr/fs_mgr_roots.cpp +++ b/fs_mgr/fs_mgr_roots.cpp @@ -115,8 +115,8 @@ bool TryPathMount(FstabEntry* rec, const std::string& mount_pt) { return true; } - static const std::vector supported_fs{"ext4", "squashfs", "vfat", "f2fs", "erofs", - "none"}; + static const std::vector 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;