commit | c0e0897da7f904e4369d79ec13b83389755a57ae | [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 | c72b2135b96f74e91aa82390e41453192489758d [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