-
Notifications
You must be signed in to change notification settings - Fork 0
/
recovery.fstab
31 lines (28 loc) · 4.54 KB
/
recovery.fstab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Android fstab file.
# TODO: Add 'check' as fs_mgr_flags with data partition.
# Currently we dont have e2fsck compiled. So fs check would failed.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/by-name/system /system ext4 ro,barrier=1,noatime wait,slotselect
/dev/block/by-name/vendor /vendor ext4 ro,barrier=1,discard wait,slotselect
/dev/block/by-name/drm /mnt/vendor/persist-lg ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc,errors=continue wait,formattable
/dev/block/by-name/OP /oem/OP ext4 ro,noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc wait,slotselect,nofail
/dev/block/by-name/persdata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,noauto_da_alloc,discard latemount,wait,check,formattable,fileencryption=ice,keydirectory=/metadata/vold/metadata_encryption,reservedsize=128M
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,fsync_mode=nobarrier latemount,wait,check,formattable,fileencryption=ice,keydirectory=/metadata/vold/metadata_encryption,reservedsize=128M
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait,slotselect
/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait,slotselect
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 nosuid,nodev,barrier=1,noatime,noauto_da_alloc,errors=continue wait,check
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
# Need to have this entry in here even though the mount point itself is no longer needed.
# The update_engine code looks for this entry in order to determine the boot device address
# and fails if it does not find it.
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/ftm /ftm emmc defaults defaults
/dev/block/bootdevice/by-name/sns /mnt/vendor/sns ext4 nosuid,nodev,barrier=1,noatime,noauto_da_alloc,errors=continue wait,check,formattable
/dev/block/bootdevice/by-name/power /mnt/vendor/power ext4 nosuid,nodev,barrier=1,noatime,noauto_da_alloc,errors=continue wait,check,formattable
/dev/cnas auto auto defaults voldmanaged=cnas:auto
/devices/platform/soc/8804000.sdhci/mmc_host* auto auto nosuid,nodev wait,voldmanaged=external_SD:auto
/devices/platform/soc/a600000.ssusb/a600000.dwc3/xhci-hcd.0.auto/usb* auto auto defaults voldmanaged=usb:auto
# zRAM
/dev/block/zram0 none swap defaults zramsize=45%,max_comp_streams=8,zram_backingdev_size=512M