stub thin_restore
This commit is contained in:
parent
c2ab11e034
commit
28a2639036
7
Makefile
7
Makefile
@ -1,3 +1,7 @@
|
||||
.PHONEY: all
|
||||
|
||||
all: thin_repair thin_dump thin_restore
|
||||
|
||||
SOURCE=\
|
||||
endian_utils.cc \
|
||||
error_set.cc \
|
||||
@ -29,6 +33,9 @@ test-programs: $(TEST_PROGRAMS)
|
||||
thin_dump: $(OBJECTS) thin_dump.o
|
||||
g++ $(CPPFLAGS) -o $@ $+ $(LIBS)
|
||||
|
||||
thin_restore: $(OBJECTS) thin_restore.o
|
||||
g++ $(CPPFLAGS) -o $@ $+ $(LIBS)
|
||||
|
||||
thin_repair: $(OBJECTS) thin_repair.o
|
||||
g++ $(CPPFLAGS) -o $@ $+ $(LIBS)
|
||||
|
||||
|
@ -11,9 +11,9 @@ using namespace thin_provisioning;
|
||||
namespace {
|
||||
void dump(string const &path) {
|
||||
metadata md(path);
|
||||
human_readable::ptr emitter(new human_readable);
|
||||
//human_readable::ptr emitter(new human_readable);
|
||||
|
||||
md.dump();
|
||||
// md.dump();
|
||||
}
|
||||
|
||||
void usage(string const &cmd) {
|
||||
|
17
thin_restore.cc
Normal file
17
thin_restore.cc
Normal file
@ -0,0 +1,17 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "metadata.h"
|
||||
|
||||
using namespace persistent_data;
|
||||
using namespace std;
|
||||
using namespace thin_provisioning;
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
cerr << "not implemented yet" << endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user