1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
./out/host/linux-x86/bin/make_ext4fs
Marshmallow:
make_ext4fs -s -T -1 -S out/target/product/hikey/root/file_contexts -L data -l 5588893184 -a data out/target/product/hikey/userdata.img out/target/product/hikey/data out/target/product/hikey/system
Nougat:
make_ext4fs -s -T -1 -S out/target/product/hikey/root/file_contexts.bin -L data -l 5588893184 -a data out/target/product/hikey/userdata.img out/target/product/hikey/data out/target/product/hikey/system
14:58:33 liuyq: nougat$ grep -rn make_ext4fs system/core/
system/core/include/private/android_filesystem_config.h:239: * system/extras/ext4_utils/make_ext4fs_main.c
system/core/fastboot/fastboot.cpp:773:// Until we get lazy inode table init working in make_ext4fs, we need to
system/core/fastboot/fs.cpp:4:#include "make_ext4fs.h"
system/core/fastboot/fs.cpp:20: make_ext4fs_sparse_fd(fd, partSize, NULL, NULL);
system/core/fastboot/fs.cpp:22: make_ext4fs_sparse_fd_directory(fd, partSize, NULL, NULL, initial_dir.c_str());
system/core/fs_mgr/fs_mgr_format.c:28:#include "make_ext4fs.h"
system/core/fs_mgr/fs_mgr_format.c:54: /* Use make_ext4fs_internal to avoid wiping an already-wiped partition. */
system/core/fs_mgr/fs_mgr_format.c:55: rc = make_ext4fs_internal(fd, NULL, NULL, fs_mnt_point, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL);
system/core/fs_mgr/fs_mgr_format.c:57: ERROR("make_ext4fs returned %d.\n", rc);
14:58:40 liuyq: nougat$
system/extras/ext4_utils/Android.mk
|