summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-05-06 17:55:03 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-05-06 17:55:03 -0600
commit540ec9fb8bb3f5da50bba34eee377ce5e7bb6c61 (patch)
treea7f6475ac216b3cee78cc29fcaff6bb99da75fc9
parent8dd4dfc841de65af95b716515cbfe55b3630a390 (diff)
examples/mount.sh: Fix
-rwxr-xr-xexamples/mount.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/mount.sh b/examples/mount.sh
index 4894e94..a36082a 100755
--- a/examples/mount.sh
+++ b/examples/mount.sh
@@ -13,9 +13,10 @@ mountpoint="${image%.img}.mnt"
mkdir -p "$mountpoint"
sudo ./bin/btrfs-rec \
- --pv="$image"
+ --pv="$image" \
--mappings="$gendir/2.mappings.json" \
- --rebuild \
+ --node-list="$gendir/0.nodes.json" \
+ --trees="$gendir/3.trees.json" \
inspect mount \
--skip-filesums \
"$mountpoint"