git.annexia.org
/
libguestfs-talks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Require nbdkit 1.8.1.
[libguestfs-talks.git]
/
2019-fosdem
/
badblocks.sh
diff --git
a/2019-fosdem/badblocks.sh
b/2019-fosdem/badblocks.sh
index
863c6b5
..
bf05d11
100755
(executable)
--- a/
2019-fosdem/badblocks.sh
+++ b/
2019-fosdem/badblocks.sh
@@
-1,7
+1,6
@@
#!/bin/bash
case "$1" in
- open) ;;
get_size) echo 64M ;;
pread)
if [ $4 -le 100000 ] && [ $(( $4+$3 )) -gt 100000 ]; then