summaryrefslogtreecommitdiff
path: root/extras/multipath/main.h
diff options
context:
space:
mode:
authorchristophe.varoqui@free.fr <christophe.varoqui@free.fr>2003-12-07 08:44:59 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:06 -0700
commit2bf80b67d1a64f1219bd366cee355e897596b2cf (patch)
tree4417e2d94c900bdeccc556db9ef89e42a7e102fe /extras/multipath/main.h
parent83fa40fc2a9ad7790f4d1289c9e918d8e6ebe99d (diff)
[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 :)
Diffstat (limited to 'extras/multipath/main.h')
-rw-r--r--extras/multipath/main.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/multipath/main.h b/extras/multipath/main.h
index 019cb843a8..692e5e4595 100644
--- a/extras/multipath/main.h
+++ b/extras/multipath/main.h
@@ -46,7 +46,7 @@
#define TUR_CMD_LEN 6
#define MX_ALLOC_LEN 255
#define BLKGETSIZE _IO(0x12,96)
-#define DM_TARGET "multipath"
+#define DM_TARGET "striped"
#define PINDEX(x,y) mp[(x)].pindex[(y)]
@@ -105,8 +105,8 @@ struct env {
/* Build version */
#define PROG "multipath"
-#define VERSION_CODE 0x000006
-#define DATE_CODE 0x271103
+#define VERSION_CODE 0x000009
+#define DATE_CODE 0x0C0503
#define MULTIPATH_VERSION(version) \
(version >> 16) & 0xFF, \