commit | 5e9e74be6158d2a0089a0b0943d7bb03949caab8 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Thu Jun 21 14:46:34 2018 -0700 |
committer | David Anderson <dvander@google.com> | Fri Jun 22 14:23:31 2018 -0700 |
tree | ce5ea71fb7ae74879037014359b70ceb54e8d1cd | |
parent | 8ddd10554547f1b38631b96a12fb3c1cae6bfd08 [diff] |
libdm: Implement GetDmDevicePathByName(). This change implements the ability to get the path of a block device given a device-mapper device name. In addition, dmctl now has a "getpath" command to perform this query, as a shortcut for searching through /sys/block/*/dm/name. Bug: 110035986 Test: N/A Change-Id: I9ebd824fa800004f591fc02fc1b1950e0c7fba65