[thin_dump] --dev-id

This commit is contained in:
Joe Thornber
2016-03-22 14:41:02 +00:00
parent 8b2ec7a3aa
commit a3f4940f1e
5 changed files with 82 additions and 27 deletions

View File

@@ -25,7 +25,10 @@ namespace {
block_manager<>::ptr old_bm = open_bm(old_path, block_manager<>::READ_ONLY);
metadata::ptr old_md(new metadata(old_bm, false));
metadata_dump(old_md, e, true);
dump_options opts;
opts.repair_ = true;
metadata_dump(old_md, e, opts);
} catch (std::exception &e) {
cerr << e.what() << endl;