Special Image Handling
Table of Contents

ramdisk file: BOOT/RAMDISK
mkbootfs -f META/boot_filesystem_config.txt ./RAMDISK | minigzip > ramdisk.img

base file BOOT/base
kernel file BOOT/kernel

mkbootimg —kernel xxx —cmdline xxx —base xxx —pagesize xxx —ramdisk xxx —output sadsad

$cat ./boot_filesystem_config.txt 
 0 0 644
data 1000 1000 771
sbin 0 2000 750
sbin/adbd 0 2000 750
sbin/ueventd 0 2000 750
sbin/watchdogd 0 2000 750
ueventd.rc 0 0 644
init.rc 0 2000 750
init.tuna.rc 0 2000 750
init.tuna.usb.rc 0 2000 750
dev 0 0 755
fstab.tuna 0 2000 640
charger 0 2000 750
init.goldfish.rc 0 2000 750
init 0 2000 750
proc 0 0 755
system 0 0 755
ueventd.goldfish.rc 0 0 644
init.usb.rc 0 2000 750
res 0 0 755
res/images 0 0 755
res/images/charger 0 0 755
res/images/charger/battery_fail.png 0 0 644
res/images/charger/battery_3.png 0 0 644
res/images/charger/battery_0.png 0 0 644
res/images/charger/battery_charge.png 0 0 644
res/images/charger/battery_1.png 0 0 644
res/images/charger/battery_4.png 0 0 644
res/images/charger/battery_2.png 0 0 644
res/images/charger/battery_5.png 0 0 644
sys 0 0 755
ueventd.tuna.rc 0 0 644
init.trace.rc 0 2000 750
default.prop 0 0 644
system/xbin 0 2000 755
system/xbin/showmap 0 2000 755
system/xbin/cpustats 0 2000 755
system/xbin/su 0 0 6755

./build/tools/fs_config/fs_config.c it generates ./out/host/linux-x86/bin/fs_config
system/core/include/private/android_filesystem_config.h defines the permission

http://blog.csdn.net/thl789/article/details/8743743

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License