summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-03-10 19:31:50 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-04-13 23:04:19 -0600
commit9a63a26b4e23a8977a9558b7e9a79792eb5b6d18 (patch)
treec8d3663a5d1d03f033a0c133983061bc2ef61418 /scripts
parentca4a23bc3c088b6a0222f7bf2c2bae5a3d7f9959 (diff)
cmd/btrfs-rec: Add a way to use RebuiltForrest instead of OldRebuiltForrest
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/main.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/main.sh b/scripts/main.sh
index c5fc238..c9c6f4e 100755
--- a/scripts/main.sh
+++ b/scripts/main.sh
@@ -80,7 +80,18 @@ run-btrfs-rec $gendir/4.ls-files.txt \
--mappings=$gendir/2.mappings.json \
--rebuild \
inspect ls-files
+run-btrfs-rec $gendir/4.ls-files.v2.txt \
+ --mappings=$gendir/2.mappings.json \
+ --node-list=$gendir/0.nodes.json \
+ --rebuild-v2 \
+ inspect ls-files
+
run-btrfs-rec $gendir/4.ls-trees.txt \
--mappings=$gendir/2.mappings.json \
--node-list=$gendir/0.nodes.json \
inspect ls-trees
+run-btrfs-rec $gendir/4.ls-trees.v2.txt \
+ --mappings=$gendir/2.mappings.json \
+ --node-list=$gendir/0.nodes.json \
+ --rebuild-v2 \
+ inspect ls-trees