chiark / gitweb /
[PATCH] extras/multipath update
authorchristophe.varoqui@free.fr <christophe.varoqui@free.fr>
Sun, 7 Dec 2003 16:44:59 +0000 (08:44 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:06 +0000 (21:13 -0700)
commit2bf80b67d1a64f1219bd366cee355e897596b2cf
tree4417e2d94c900bdeccc556db9ef89e42a7e102fe
parent83fa40fc2a9ad7790f4d1289c9e918d8e6ebe99d
[PATCH] extras/multipath update

here is the next update which brings this multipath to the state i'm not
ashamed of it being in udev :)

* drop a libdevmapper copy in extras/multipath; maybe discussions w/
Sistina folks will bring a better solution in the future.
* drop a putchar usage in libdevmapper to compile cleanly with klibc
* drop another such usage of my own in main.c
* massage the Makefile to compile libdevmapper against klibc
* use "ld" to produce the binary rather than "gcc -static"
* stop being stupid w/ uneeded major, minor & dev in main.c:dm_mk_node()
* reverse to creating striped target for now because the multipath
target is more hairy than expected initialy
* push the version code to 009 to be in synch w/ udev

builds & run here.
binary size is 43ko, which is fairly gratifying after all the efforts
I've put to compiling it with klibc :)
extras/multipath/Makefile
extras/multipath/libdevmapper/Makefile [new file with mode: 0644]
extras/multipath/libdevmapper/ioctl/libdevmapper.c [new file with mode: 0644]
extras/multipath/libdevmapper/ioctl/libdm-compat.h [new file with mode: 0644]
extras/multipath/libdevmapper/ioctl/libdm-targets.h [new file with mode: 0644]
extras/multipath/libdevmapper/libdevmapper.h [new file with mode: 0644]
extras/multipath/libdevmapper/libdm-common.c [new file with mode: 0644]
extras/multipath/libdevmapper/libdm-common.h [new file with mode: 0644]
extras/multipath/libdevmapper/list.h [new file with mode: 0644]
extras/multipath/main.c
extras/multipath/main.h