Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The fstab required by MultiROM changing of mountpoints on secondary boot #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions fstab.qcom
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Android fstab file.
# 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

/dev/block/bootdevice/by-name/system /system ext4 ro,noatime,barrier=0 wait
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=0,noauto_da_alloc wait,check,formattable,encryptable=footer,length=-16384
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,inline_xattr,nobarrier wait,check,formattable,encryptable=footer,length=-16384
/dev/block/bootdevice/by-name/cache /cache ext4 noatime,nodiratime,nosuid,nodev,barrier=0,noauto_da_alloc wait,check
/dev/block/bootdevice/by-name/cache /cache f2fs noatime,nodiratime,nosuid,nodev,inline_xattr,nobarrier wait,check
/dev/block/bootdevice/by-name/persist /persist ext4 noatime,nodiratime,nosuid,nodev,barrier=0,noauto_da_alloc wait,notrim
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/config /persistent emmc defaults defaults
/dev/block/bootdevice/by-name/modem /firmware vfat ro,noatime,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait

/devices/soc.0/7864900.sdhci/mmc_host* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
/devices/platform/msm_hsusb* auto auto defaults voldmanaged=usbdisk:auto
/dev/block/zram0 none swap defaults zramsize=536870912,zramstreams=3