Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0177b11f committed Nov 26, 2023
1 parent eb80ef5 commit 3f9b98d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ zfs 2.1/2.2 has a silent file corruption bug, issue [15526](https://github.com/o
Usage: zfs-issue-15526-check-file [OPTIONS]
Options:
-p, --path <PATH> [default: ./**/*.*]
-t, --threshold <THRESHOLD> [default: 4]
-p, --path <PATH> Scan path, glob format [default: ./**/*.*]
-t, --threshold <THRESHOLD> Reporting threshold [default: 16]
-f Check file first 4 Mib
-h, --help Print help
-V, --version Print version
```

`--path` option uses the path argument of [glob](https://crates.io/crates/glob)

`--threshold` option configures the error threshold and prints the file when multiple 4kb zero bytes appear continuously.
`--threshold` print an alert when zero byte blocks are detected consecutively.

`-f` Quickly detect begin of the file (4 Mib range).

0 comments on commit 3f9b98d

Please sign in to comment.