commit | 2b8b788e619269f6b08cac0596abc732284001e8 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Tue Dec 17 21:02:36 2019 -0800 |
committer | David Anderson <dvander@google.com> | Fri Dec 20 16:41:35 2019 -0800 |
tree | 277ef44f14899b243279a754c54c64975c8fd390 | |
parent | 871b082e052e0a02253f14721c049401c29c72e5 [diff] |
libfiemap: Add a way to get the block device path of a mapped image. This is needed for adb remount, to find the scratch device if it is already mapped. Note that on devices without metadata encryption, this cannot be done by querying device-mapper, since scratch will be a loop device. Bug: 134949511 Test: fiemap_image_test Change-Id: Ia25d279c6f8a4838be32a8c01aefc67b5ec1e002