diff --git a/services/fs_manager/mount.cpp b/services/fs_manager/mount.cpp index 69e522944e13810b18816ac5bc02de2eb3ae7c80..533620e88e774f618213afdbf952b9fc3535dd57 100644 --- a/services/fs_manager/mount.cpp +++ b/services/fs_manager/mount.cpp @@ -74,8 +74,8 @@ static int ExecCommand(std::vector cmds) static int DoFormat(const std::string &devPath, const std::string &fsType) { std::map fsToolsMap = { - { "ext4", "/system/bin/mke2fs" }, - { "f2fs", "/system/bin/make_f2fs" }, + { "ext4", "/bin/mke2fs" }, + { "f2fs", "/bin/make_f2fs" }, }; int ret = 0; auto it = fsToolsMap.find(fsType);