Skip to contentSkip to conversation

how to get mapped device name given its uuid?

DISCUSSION goggin, edward 2 participants 2 messages Nov 10, 2005 Device mapper

lore
Share & tools
lore
#0 lore raw

Is there a dm library interface to get the name for a dm device given its uuid?

#1 lore raw
Quoted 2 lines · edward

Is there a dm library interface to get the name for a dm device given its uuid?

From userspace, yes.
(libdevmapper equivalent of: dmsetup info -u <uuid>)

In kernel - no, but we could add one based on find_device().

Alasdair

Signature · 1 line
[email protected]