最終更新:2015-08-27 (木) 01:57:18 (1849d)  

make_ext4fs
Top / make_ext4fs

make_ext4fs [ -l <len> ] [ -j <journal size> ] [ -b <block_size> ]
    [ -g <blocks per group> ] [ -i <inodes> ] [ -I <inode size> ]
    [ -L <label> ] [ -f ] [ -a <android mountpoint> ]
    [ -S file_contexts ] [ -C fs_config ] [ -T timestamp ]
    [ -z | -s ] [ -w ] [ -c ] [ -J ] [ -v ] [ -B <block_list_file> ]
    <filename> [<directory>]

使い方

  • cache.img
    make_ext4fs -s -T -1 -S out/target/product/flo/root/file_contexts -l 33554432 -a cache out/target/product/flo/cache.img out/target/product/flo/cache
    Creating filesystem with parameters:
        Size: 33554432
        Block size: 4096
        Blocks per group: 32768
        Inodes per group: 2048
        Inode size: 256
        Journal blocks: 1024
        Label: 
        Blocks: 8192
        Block groups: 1
        Reserved block group size: 7
  • userdata.img?
    make_ext4fs -s -T -1 -S out/target/product/flo/root/file_contexts -l 12348030976 -a data out/target/product/flo/userdata.img out/target/product/flo/data
    Creating filesystem with parameters:
        Size: 12348030976
        Block size: 4096
        Blocks per group: 32768
        Inodes per group: 8192
        Inode size: 256
        Journal blocks: 32768
        Label: 
        Blocks: 3014656
        Block groups: 92
        Reserved block group size: 735
  • system.img
    make_ext4fs -s -T -1 -S out/target/product/flo/root/file_contexts -l 880803840 -a system out/target/product/flo/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/flo/system
    Creating filesystem with parameters:
        Size: 880803840
        Block size: 4096
        Blocks per group: 32768
        Inodes per group: 7680
        Inode size: 256
        Journal blocks: 3360
        Label: 
        Blocks: 215040
        Block groups: 7
        Reserved block group size: 55

関連