/*********************************************************************************
* Android filesystem system rw(read/write) permission
* 说明:
* Android system读写权限设置。
*
* 2017-10-31 深圳 南山平山村 曾剑锋
********************************************************************************/ 一、修改文件:
device/fsl/sabresd_6dq/fstab.freescale 二、root@sabresd:/ # cat fstab.freescale
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK /devices/soc0/soc./.aips-bus/.usdhc/mmc_host /mnt/media_rw/extsd vfat defaults voldmanaged=extsd:auto
/devices/soc0/soc./.aips-bus/.usb/ci_hdrc. /mnt/media_rw/udisk vfat defaults voldmanaged=udisk:auto
# /dev/block/mmcblk3p5 /system ext4 ro,barrier=1 wait,verify
/dev/block/mmcblk3p5 /system ext4 defaults wait
/dev/block/mmcblk3p4 /data ext4 nosuid,nodev,nodiratime,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic wait,encryptable=/dev/block/mmcblk3p9
/dev/block/mmcblk3p6 /cache ext4 nosuid,nodev,nomblk_io_submit wait
/dev/block/mmcblk3p7 /device ext4 ro,nosuid,nodev wait
/dev/block/mmcblk3p1 /boot emmc defaults defaults
/dev/block/mmcblk3p2 /recovery emmc defaults defaults
/dev/block/mmcblk3p8 /misc emmc defaults defaults
/dev/block/mmcblk3boot0 /bootloader emmc defaults defaults
/dev/block/zram0 none swap defaults zramsize=
root@sabresd:/ #