Skip to contentSkip to conversation

master - lvmetactl: program to interact with lvmetad

PATCH David Teigland 1 participant 1 message Jul 6, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d16332be72ff46d90b5245d25c4aa471913f0e91
Commit:        d16332be72ff46d90b5245d25c4aa471913f0e91
Parent:        6a8cc1dcd41f12a48108744b9070405169e7853f
Author:        David Teigland <[email protected]>
AuthorDate:    Tue Oct 21 09:42:20 2014 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Mon Jul 6 15:54:22 2015 -0500

lvmetactl: program to interact with lvmetad

This is not installed; it's only a developer utility at this point.

---
 daemons/lvmetad/Makefile.in |    6 +-
 daemons/lvmetad/lvmetactl.c |  183 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 188 insertions(+), 1 deletions(-)
daemons/lvmetad/Makefile.in +5 -1
index 765128c..090bb76 100644
@@ -18,7 +18,7 @@ top_builddir = @top_builddir@
 SOURCES = lvmetad-core.c
 SOURCES2 = testclient.c
 
-TARGETS = lvmetad
+TARGETS = lvmetad lvmetactl
 
 .PHONY: install_lvmetad
 
@@ -41,6 +41,10 @@ lvmetad: $(OBJECTS) $(top_builddir)/libdaemon/client/libdaemonclient.a \
 		    $(top_builddir)/libdaemon/server/libdaemonserver.a
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LVMLIBS) $(LIBS)
 
+lvmetactl: lvmetactl.o $(top_builddir)/libdaemon/client/libdaemonclient.a \
+	$(top_builddir)/libdaemon/server/libdaemonserver.a
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ lvmetactl.o $(LVMLIBS)
+
 # TODO: No idea. No idea how to test either.
 #ifneq ("$(CFLOW_CMD)", "")
 #CFLOW_SOURCES = $(addprefix $(srcdir)/, $(SOURCES))
daemons/lvmetad/lvmetactl.c new file +183 -0

183 lines not on this page · raw message