首页 > 代码库 > make_ext4fs 失败

make_ext4fs 失败

root@fengyun-server:/home/fmake_ext4fsengyun/android/reverse_engineer/rom制作# ./make_ext4fs -l 700M -s -a system ZNKG5-new2.img ./tempdir  
file_context_open: Error getting file context handle (No such file or directory)
No such file or directory

去掉 –a system参数

root@fengyun-server:/home/fengyun/android/reverse_engineer/rom制作# ./make_ext4fs -l 600M -s  ZNKG5-new.img ./tempdir  
Creating filesystem with parameters:
    Size: 629145600
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7680
    Inode size: 256
    Journal blocks: 2400
    Label:
    Blocks: 153600
    Block groups: 5
    Reserved block group size: 39
error: do_inode_allocate_extents: Failed to allocate 322 blocks

 

调整 –l 700M

./make_ext4fs -l 700M -s  ZNKG5-new.img ./tempdir

make_ext4fs 失败