commit | 3fbf2e3b47cf4c41821ad3366c4dccfdce7b0544 | [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 | f78b8a4f95babdb5e12ecf1f034ccdc0dc39f8f9 [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