Skip to content

Commit 49409f2

Browse files
committed
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.
1 parent 66e4487 commit 49409f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rootdir/etc/fstab.qcom

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# The filesystem that contains the filesystem e2fsck binary (typically /system) cannot
33
# specify 'check', and must come before any filesystems that do specify 'check'
44

5-
# 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):
5+
# 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):
66
# /proc/device-tree/firmware/android/fstab/system
77
# /proc/device-tree/firmware/android/fstab/vendor
88

@@ -12,7 +12,7 @@
1212
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,noatime,barrier=1,noauto_da_alloc wait,check,encryptable=footer
1313
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,inline_xattr,data_flush wait,check,encryptable=footer
1414
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly
15-
/dev/block/bootdevice/by-name/factory /vendor ext4 ro,barrier=1 wait,recoveryonly
15+
/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait,recoveryonly
1616
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,noatime,barrier=1 wait,check
1717
/dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr,flush_merge,data_flush wait,check
1818
/dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev,noatime,barrier=1 wait

0 commit comments

Comments
 (0)