[dm-devel] best way to detect a dm device is dm-multipath from userspace?

Alasdair G Kergon agk at redhat.com
Tue Mar 25 22:54:58 UTC 2014


udev db as zkabelac says; or

sysfs .../dm/uuid; or

dm ioctl lookup by name or major:minor and get uuid (dmsetup info equivalent)

then check for mpath prefix on the uuid  
[Assuming it was created with the standard tools]

Alasdair







More information about the dm-devel mailing list