summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-05-01 17:09:17 -0700
committerDavid Anderson <dvander@google.com>2018-05-14 12:43:42 -0700
commit62e5b20b505e45671545cf871f701daa61cb1b2d (patch)
treeaf457e60dd47215b9e43781836420758faa54672 /trusty/coverage/coverage_test.cpp
parentc8dd6b74e66ee02132e9d2094675974f5285666a (diff)
init/fs_mgr: prototype first-stage dm-linear support
This adds an API to fs_mgr for reading dm-linear tables out of device trees and issuing device-mapper ioctls. The device tree code will be implemented separately. The dm-linear structures in fs_mgr are organized assuming we may want to pull them from sources other than DT (for example, text files, binary blobs, or something hardcoded for testing). File systems which are mounted from these logical partitions have specific fstab requirements. The block device must be a partition name, and if Verified Boot is used, that name must match the vbmeta partition name. Second, the entry must have the "logical" fs_mgr flag. Example fstab entry: vendor /vendor ext4 ro wait,logical Example fstab entry in device tree: vendor { compatible = "android,fstab"; dev = "vendor"; type = "ext4"; mnt_flags = "ro"; fs_mgr_flags = "wait,slotselect,avb,logical"; }; Bug: 78914864 Test: N/A Change-Id: I4d8878ea8858f26310119616cadc3ee0dd08566c
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions