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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For a little project I'm working on I'd like to find out if a given
device node is a dm-multipath device from C code.  dm_is_dm_major tells
me if it's any DM node, but from there on it seems like I'd have to
grab the table name from dmsetup table output for which I'd need a name
for the device or similar.

Is there a good shortcut or library function for this check?

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux