commit | d106f1e22546611df0353077409ef1a55fd32954 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Wed Jun 19 18:39:39 2019 -0700 |
committer | David Anderson <dvander@google.com> | Wed Jun 19 19:29:09 2019 -0700 |
tree | 9730a2c9cfab9fdd258a4f8bf2ec2a9d419a62e5 | |
parent | 3215fd93c7a335a7368020c9d60efb467d8c943a [diff] |
libdm: Add helpers for getting the device number of a dm device. device-mapper will accept a "major:minor" string in place of a path for any target parameter that specifies another block devie. This is useful to have a helper for, since it lets us avoid a call to WaitForFile(). Bug: 134536978 Test: manual test Change-Id: I13fd6699dd5d405bfa676830825b006b7810aa0f