summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-04-01 21:10:35 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-04-04 14:08:38 -0600
commit6b8c24fb78f0face6532c1170ff0dca46dd56223 (patch)
tree50a2991d9632f3f0886ded434684d4a5480dbd87 /scripts
parentc1578391cc2089cd224fd8325c333038e0ba7b7b (diff)
cmd/btrfs-rec: Have RebuiltForrest be opt-in on the CLI
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/main.sh1
-rwxr-xr-xscripts/mount.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/main.sh b/scripts/main.sh
index dddb9bb..1e143eb 100755
--- a/scripts/main.sh
+++ b/scripts/main.sh
@@ -68,6 +68,7 @@ run-btrfs-rec $gendir/3.trees.json \
run-btrfs-rec $gendir/4.ls-files.txt \
--mappings=$gendir/2.mappings.json \
+ --rebuild \
inspect ls-files
run-btrfs-rec $gendir/4.ls-trees.txt \
--mappings=$gendir/2.mappings.json \
diff --git a/scripts/mount.sh b/scripts/mount.sh
index bf84163..4894e94 100755
--- a/scripts/mount.sh
+++ b/scripts/mount.sh
@@ -15,6 +15,7 @@ mkdir -p "$mountpoint"
sudo ./bin/btrfs-rec \
--pv="$image"
--mappings="$gendir/2.mappings.json" \
+ --rebuild \
inspect mount \
--skip-filesums \
"$mountpoint"