chiark / gitweb /
[PATCH] udev-007/extras/multipath update
authorchristophe.varoqui@free.fr <christophe.varoqui@free.fr>
Tue, 2 Dec 2003 08:16:32 +0000 (00:16 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:04 +0000 (21:13 -0700)
commit359618cd6ed05adcad97380f51790198ff653f87
treea7f5f734c91bcf20af664c83cb3117d30070952c
parent871ea775c7f47776c34f4d33d7f40074e4e39d39
[PATCH] udev-007/extras/multipath update

here is a clean-up patch :

* removes sg_err.[ch] deps
* makes sure the core code play nice with klibc
* port the sysfs calls to dlist helpers
* links against udev's sysfs (need libsysfs.a & dlist.a)
* finally define DM_TARGET as "multipath" as Joe posted the code today
  (not tested yet)
* push version forward (do you want it in sync with udev version?)

libdevmapper doesn't play well with klibc, so I wasn't able to produce a
static binary yet. Help needed here ... as I don't want to fall back to
merge libdevmapper code in the core.

It compiles here and doesn't segfault.
extras/multipath/Makefile
extras/multipath/main.c
extras/multipath/main.h
extras/multipath/sg_include.h