Link to documentation for different block device types
The number of block devices used in an Android device is too damn high (insert meme here). Let's at least add some links to documentation to help describe the partition layout expected on a typical Android device. This builds on top of the work in making the bootloader information accessible (b/28905584). Test: only adding comments. Policy compiles. Change-Id: I8976b855e46255f7e18fa2b807ba83e0db92a82d
This commit is contained in:
parent
9e6c78f73f
commit
4b26c91ae6
1 changed files with 7 additions and 0 deletions
|
@ -80,18 +80,23 @@ type root_block_device, dev_type;
|
|||
type frp_block_device, dev_type;
|
||||
|
||||
# System block device mounted on /system.
|
||||
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
||||
type system_block_device, dev_type;
|
||||
|
||||
# Recovery block device.
|
||||
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
||||
type recovery_block_device, dev_type;
|
||||
|
||||
# boot block device.
|
||||
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
||||
type boot_block_device, dev_type;
|
||||
|
||||
# Userdata block device mounted on /data.
|
||||
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
||||
type userdata_block_device, dev_type;
|
||||
|
||||
# Cache block device mounted on /cache.
|
||||
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
||||
type cache_block_device, dev_type;
|
||||
|
||||
# Block device for any swap partition.
|
||||
|
@ -100,9 +105,11 @@ type swap_block_device, dev_type;
|
|||
# Metadata block device used for encryption metadata.
|
||||
# Assign this type to the partition specified by the encryptable=
|
||||
# mount option in your fstab file in the entry for userdata.
|
||||
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
||||
type metadata_block_device, dev_type;
|
||||
|
||||
# The 'misc' partition used by recovery and A/B.
|
||||
# Documented at https://source.android.com/devices/bootloader/partitions-images
|
||||
type misc_block_device, dev_type;
|
||||
|
||||
# 'super' partition to be used for logical partitioning.
|
||||
|
|
Loading…
Reference in a new issue