diff options
author | Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> | 2018-04-12 23:44:24 +0200 |
---|---|---|
committer | Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> | 2018-04-12 23:44:37 +0200 |
commit | 49409f2132a055590f5d986071e1e1ce174cebc7 (patch) | |
tree | d4e1a2b2c4c47d8bbd474a659ab46dedf624241d | |
parent | 66e44879b1aaf298676ed81c66eeb0596e4e7014 (diff) |
rootdir: fstab: Use the right label for our vendor partition.
* We renamed 'factory' as 'vendor' on our partition table:
z2_row: sgdisk_static --change-name=9:vendor /dev/block/sda
z2_plus: sgdisk_static --change-name=46:vendor /dev/block/mmcblk0
Note that partition number for z2_plus may not be the same if you came from Indian's stock
or from Chinese's stock.
Check first the output of 'ls -l /dev/block/bootdevice/by-name/factory'
* Thanks to @cryscript for the idea and his work for z2_plus.
Diffstat (limited to '')
-rw-r--r-- | rootdir/etc/fstab.qcom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom index a5855e2..7df4742 100644 --- a/rootdir/etc/fstab.qcom +++ b/rootdir/etc/fstab.qcom @@ -2,7 +2,7 @@ # The filesystem that contains the filesystem e2fsck binary (typically /system) cannot # specify 'check', and must come before any filesystems that do specify 'check' -# NOTE: /system and /vendor (/factory mounted as /vendor) partitions are now early-mounted and the fstab entry is specified in device tree (duplicated below for recovery image purposes only): +# NOTE: /system and /vendor (/factory renamed as /vendor) partitions are now early-mounted and the fstab entry is specified in device tree (duplicated below for recovery image purposes only): # /proc/device-tree/firmware/android/fstab/system # /proc/device-tree/firmware/android/fstab/vendor @@ -12,7 +12,7 @@ /dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,noatime,barrier=1,noauto_da_alloc wait,check,encryptable=footer /dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,inline_xattr,data_flush wait,check,encryptable=footer /dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly -/dev/block/bootdevice/by-name/factory /vendor ext4 ro,barrier=1 wait,recoveryonly +/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait,recoveryonly /dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,noatime,barrier=1 wait,check /dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr,flush_merge,data_flush wait,check /dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev,noatime,barrier=1 wait |