Home
last modified time | relevance | path

Searched refs:mke2fs_args (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr_format.cpp77 std::vector<const char*> mke2fs_args = {"/system/bin/mke2fs", "-t", "ext4", "-b", "4096"}; in format_ext4() local
81 mke2fs_args.push_back("-I"); in format_ext4()
82 mke2fs_args.push_back("512"); in format_ext4()
87 mke2fs_args.push_back("-O"); in format_ext4()
88 mke2fs_args.push_back("metadata_csum"); in format_ext4()
95 mke2fs_args.push_back("-O"); in format_ext4()
96 mke2fs_args.push_back("64bit"); in format_ext4()
97 mke2fs_args.push_back("-O"); in format_ext4()
98 mke2fs_args.push_back("extent"); in format_ext4()
101 mke2fs_args.push_back(fs_blkdev.c_str()); in format_ext4()
[all …]
/system/core/fastboot/
Dfs.cpp121 std::vector<const char*> mke2fs_args = {mke2fs_path.c_str(), "-t", "ext4", "-b"}; in generate_ext4_image() local
124 mke2fs_args.push_back(block_size_str.c_str()); in generate_ext4_image()
136 mke2fs_args.push_back("-E"); in generate_ext4_image()
137 mke2fs_args.push_back(ext_attr.c_str()); in generate_ext4_image()
138 mke2fs_args.push_back("-O"); in generate_ext4_image()
139 mke2fs_args.push_back("uninit_bg"); in generate_ext4_image()
140 mke2fs_args.push_back(fileName); in generate_ext4_image()
143 mke2fs_args.push_back(size_str.c_str()); in generate_ext4_image()
144 mke2fs_args.push_back(nullptr); in generate_ext4_image()
149 int ret = exec_cmd(mke2fs_args[0], mke2fs_args.data(), mke2fs_envp.data()); in generate_ext4_image()