Exfat Need to add automatic repair function when exfat fsck device
bug:143229109 Test: Manual Change-Id: Ibf650bdcb378dd9c07f904bdd18b36f376b45b61 Signed-off-by: shaozhongqi <shaozhongqi@xiaomi.com>
This commit is contained in:
parent
21799c8f7d
commit
081cf8efdb
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ bool IsSupported() {
|
|||
status_t Check(const std::string& source) {
|
||||
std::vector<std::string> cmd;
|
||||
cmd.push_back(kFsckPath);
|
||||
cmd.push_back("-a");
|
||||
cmd.push_back(source);
|
||||
|
||||
int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext);
|
||||
|
|
Loading…
Reference in a new issue