[dm-devel] [Patch] kpartx to accept device map name

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Mon May 16 19:21:26 UTC 2005


Hello Christophe,

Attached patch adds '-m' option which makes kpartx
to accept device map name.

Using with the cvs version of libdevmapper or with the
patch suggested by Kiyoshi Ueda today, we don't need
to depend on asynchronous nature of hotplug when it's
not necessary.

For example, we can do this for initialization:
  multipath
  dmsetup info -c --noheadings -o name | xargs -l1 kpartx -a -m
otherwise we had to insert adhoc length of sleep to wait for
the completion of hotplug events.

Please consider to apply.

Thanks,
Jun'ichi Nomura

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kpartx-mapname.patch
Type: text/x-patch
Size: 1401 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20050516/b8278d15/attachment.bin>


More information about the dm-devel mailing list