commit | 34e1e5dbbd9509e9410bffacbc589b74d49d56ff | [log] [tgz] |
---|---|---|
author | Tom Marshall <tdm@cyngn.com> | Wed Nov 04 15:44:44 2015 -0800 |
committer | Michael Bestas <mkbestas@lineageos.org> | Tue Aug 23 01:25:11 2022 +0300 |
tree | fa55750b45a93ae5386ed33b640420551d008216 | |
parent | 779baf99cfa4590f7847d6c7c5f8a0697e085ab7 [diff] |
vold: Support internal storage partitions * Support nonremovable disks and expose a nonremovable flag in the DiskCreated message. * New DiskPartition class to hold single partitions. DiskPartition is used when the fs_mgr entry has a partnum (eg. when fs_mgr_flags contains voldmanaged=label:#). Override disk partitioning methods to prevent destroying the emmc. Change-Id: Id7ec3ea409b5c96e691730604e4b1e9cc3aa9d33 vold: Correct base header paths These headers were moved to android-base Change-Id: I3eaa8316006b9017c5f5e31cd1e91efc2862106d DiskPartition.cpp: Add sysmacros.h dependency for major/minor Change-Id: I22c267c8f12b40fb3e2295becd88f12b75907b69 Signed-off-by: Adrian DC <radian.dc@gmail.com> [mikeioannina] Adapt for Pie and Q Change-Id: Id7ec3ea409b5c96e691730604e4b1e9cc3aa9d33