fs_mgr: support quota format for f2fs
This patch adds -O quota for make_f2fs to activate disk quotas, and add -d1 to show debug messages which was set in all the other make_f2fs calls. Change-Id: I33ab0f585b1081ff88f298286378f9ff70579b3f Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
parent
c79baea4d5
commit
2decf61b2d
|
@ -115,7 +115,9 @@ static int format_f2fs(char *fs_blkdev, uint64_t dev_sz, bool crypt_footer)
|
|||
|
||||
std::string size_str = std::to_string(dev_sz / 4096);
|
||||
const char* const args[] = {
|
||||
"/system/bin/make_f2fs", "-f", "-O", "encrypt", fs_blkdev, size_str.c_str(), nullptr};
|
||||
"/system/bin/make_f2fs", "-d1", "-f",
|
||||
"-O", "encrypt", "-O", "quota",
|
||||
fs_blkdev, size_str.c_str(), nullptr};
|
||||
|
||||
return android_fork_execvp_ext(arraysize(args), const_cast<char**>(args), NULL, true,
|
||||
LOG_KLOG, true, nullptr, nullptr, 0);
|
||||
|
|
Loading…
Reference in New Issue