All of lore.kernel.org
 help / color / mirror / Atom feed
* hctl from device name or major/minor
@ 2008-09-02 18:13 Andy
  0 siblings, 0 replies; only message in thread
From: Andy @ 2008-09-02 18:13 UTC (permalink / raw)
  To: dm-devel

	What is the best way to get the hctl from the device name or major/minor
pair?  Specificly for use in a prio_callout program for multipath?  Is there
an API interface in the device mapper of sysfs libraries I should use to get
this information or should I just scan the appropriate /sys directory? 
Currently I just have a simple shell script to give me the path priority I
need, but would like to make it a c program.

Thanks,

Andy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-02 18:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-02 18:13 hctl from device name or major/minor Andy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.