From dc1eddc75a17687ee4d3bc301dd8b2ff253095fe Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 10 Mar 2023 19:31:50 -0700 Subject: cmd/btrfs-rec, btrfsutil: Delete OldRebuiltForrest --- scripts/main.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'scripts/main.sh') diff --git a/scripts/main.sh b/scripts/main.sh index c9c6f4e..4e0596b 100755 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -77,21 +77,13 @@ run-btrfs-rec $gendir/3.trees.json \ # 4: dump data from the FS ################################# 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 \ + --rebuild \ 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 \ + --rebuild \ inspect ls-trees -- cgit v1.2.3-2-g168b From 6630e28213a6c5f506d6a6d6f3e764a42c967163 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 5 Mar 2023 11:40:32 -0700 Subject: btrfsutil: RebuiltForrest: Add a .RebuiltAddRoots() method, cmd/btrfs-rec: Add a --trees flag --- scripts/main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/main.sh') diff --git a/scripts/main.sh b/scripts/main.sh index 4e0596b..082576a 100755 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -79,11 +79,11 @@ run-btrfs-rec $gendir/3.trees.json \ run-btrfs-rec $gendir/4.ls-files.txt \ --mappings=$gendir/2.mappings.json \ --node-list=$gendir/0.nodes.json \ - --rebuild \ + --trees=$gendir/3.trees.json \ inspect ls-files run-btrfs-rec $gendir/4.ls-trees.txt \ --mappings=$gendir/2.mappings.json \ --node-list=$gendir/0.nodes.json \ - --rebuild \ + --trees=$gendir/3.trees.json \ inspect ls-trees -- cgit v1.2.3-2-g168b