提交 a602fefd 编写于 作者: X xlfeng

fixed 225137d5 from https://gitee.com/xlfeng/startup_init_lite/pulls/245

增加resize和fsck的打印.
Signed-off-by: Nxlfeng <xulifeng7@huawei.com>
上级 abb195cc
...@@ -181,6 +181,7 @@ static int DoResizeF2fs(const char* device, const unsigned long long size) ...@@ -181,6 +181,7 @@ static int DoResizeF2fs(const char* device, const unsigned long long size)
char **argv = (char **)cmd; char **argv = (char **)cmd;
ret = ExecCommand(argc, argv); ret = ExecCommand(argc, argv);
} }
FSMGR_LOGI("resize.f2fs is ending.");
return ret; return ret;
} }
...@@ -197,6 +198,7 @@ static int DoFsckF2fs(const char* device) ...@@ -197,6 +198,7 @@ static int DoFsckF2fs(const char* device)
}; };
int argc = ARRAY_LENGTH(cmd); int argc = ARRAY_LENGTH(cmd);
char **argv = (char **)cmd; char **argv = (char **)cmd;
FSMGR_LOGI("fsck.f2fs is ending.");
return(ExecCommand(argc, argv)); return(ExecCommand(argc, argv));
} }
...@@ -226,6 +228,7 @@ static int DoResizeExt(const char* device, const unsigned long long size) ...@@ -226,6 +228,7 @@ static int DoResizeExt(const char* device, const unsigned long long size)
char **argv = (char **)cmd; char **argv = (char **)cmd;
ret = ExecCommand(argc, argv); ret = ExecCommand(argc, argv);
} }
FSMGR_LOGI("resize2fs is ending.");
return ret; return ret;
} }
...@@ -242,6 +245,7 @@ static int DoFsckExt(const char* device) ...@@ -242,6 +245,7 @@ static int DoFsckExt(const char* device)
}; };
int argc = ARRAY_LENGTH(cmd); int argc = ARRAY_LENGTH(cmd);
char **argv = (char **)cmd; char **argv = (char **)cmd;
FSMGR_LOGI("e2fsck is ending.");
return ExecCommand(argc, argv); return ExecCommand(argc, argv);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册