diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-07 13:17:52 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-08 00:16:03 -0600 |
commit | cea13f5e842b488049c4d15e9a7b27171ce420c8 (patch) | |
tree | 279304282b6f96cc1207c54d1ba7671b786afc18 | |
parent | c93e585d97cf6129cba277c812d100e7eac0d249 (diff) |
run-check.sh
-rwxr-xr-x | scripts/run-check.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/run-check.sh b/scripts/run-check.sh new file mode 100755 index 0000000..6301305 --- /dev/null +++ b/scripts/run-check.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -e +rm -f ../scratch/dump-check.img +cp --reflink=always ../scratch/dump-{clearnodes,check}.img +make -C ../btrfs-progs +time ../btrfs-progs/btrfs check --progress --repair ../scratch/dump-check.img |