diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-08-09 16:01:20 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-08-17 22:50:57 -0600 |
commit | 286db83409b56de7b0ac3a74709018c01de43f44 (patch) | |
tree | 147229cdaebb3fa8681bc6e07e3cce6fd40300ae /scripts | |
parent | 51659255af92e050ce0d2bca65629512a833eae4 (diff) |
cli: wip: Rethink the "scan" CLI commands
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/main.sh | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/scripts/main.sh b/scripts/main.sh index 11ce901..cc03e9f 100755 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -17,27 +17,27 @@ go build ./cmd/btrfs-rec mkdir -p "$b.gen" { set +x; } &>/dev/null -gen $b.gen/0.scan-for-nodes.json \ +gen $b.gen/0.scandevices.json \ ./btrfs-rec --pv=$b.img \ - inspect scan-for-nodes -gen $b.gen/1.mappings.json \ - ./btrfs-rec --pv=$b.img \ - inspect rebuild-mappings $b.gen/0.scan-for-nodes.json -gen $b.gen/2.csums.gob \ - ./btrfs-rec --pv=$b.img --mappings=$b.gen/1.mappings.json \ - inspect dump-sums -# gen $b.gen/3.dbg.txt \ + inspect scandevices +# gen $b.gen/1.mappings.json \ +# ./btrfs-rec --pv=$b.img \ +# inspect rebuild-mappings $b.gen/0.scan-for-nodes.json +# gen $b.gen/2.csums.gob \ +# ./btrfs-rec --pv=$b.img --mappings=$b.gen/1.mappings.json \ +# inspect dump-sums +# # gen $b.gen/3.dbg.txt \ +# # ./btrfs-rec --pv=$b.img --mappings=$b.gen/1.mappings.json \ +# # inspect dbg $b.gen/2.csums.gob +# gen $b.gen/3.mappings.json \ # ./btrfs-rec --pv=$b.img --mappings=$b.gen/1.mappings.json \ -# inspect dbg $b.gen/2.csums.gob -gen $b.gen/3.mappings.json \ - ./btrfs-rec --pv=$b.img --mappings=$b.gen/1.mappings.json \ - inspect scan-for-extents $b.gen/0.scan-for-nodes.json $b.gen/2.csums.gob -gen $b.gen/4.ls-files.txt \ - ./btrfs-rec --pv=$b.img --mappings=$b.gen/3.mappings.json \ - inspect ls-files -gen $b.gen/4.ls-trees.txt \ - ./btrfs-rec --pv=$b.img --mappings=$b.gen/3.mappings.json \ - inspect ls-trees --nodescan=$b.gen/0.scan-for-nodes.json -gen $b.gen/4.nodes.json \ - ./btrfs-rec --pv=$b.img --mappings=$b.gen/3.mappings.json \ - inspect rebuild-nodes $b.gen/0.scan-for-nodes.json +# inspect scan-for-extents $b.gen/0.scan-for-nodes.json $b.gen/2.csums.gob +# gen $b.gen/4.ls-files.txt \ +# ./btrfs-rec --pv=$b.img --mappings=$b.gen/3.mappings.json \ +# inspect ls-files +# gen $b.gen/4.ls-trees.txt \ +# ./btrfs-rec --pv=$b.img --mappings=$b.gen/3.mappings.json \ +# inspect ls-trees --nodescan=$b.gen/0.scan-for-nodes.json +# gen $b.gen/4.nodes.json \ +# ./btrfs-rec --pv=$b.img --mappings=$b.gen/3.mappings.json \ +# inspect rebuild-nodes $b.gen/0.scan-for-nodes.json |