aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-19 16:24:07 +0200
committerMattias Andrée <maandree@kth.se>2024-09-19 16:24:07 +0200
commite17bc0f9444e1e7c150c5023901d5b55875dd6af (patch)
treef4f52b920d98400d4f56ebec8c535b7fbb95e907 /README
parentPrint info about bad writes (diff)
downloaddeadshred-e17bc0f9444e1e7c150c5023901d5b55875dd6af.tar.gz
deadshred-e17bc0f9444e1e7c150c5023901d5b55875dd6af.tar.bz2
deadshred-e17bc0f9444e1e7c150c5023901d5b55875dd6af.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'README')
-rw-r--r--README17
1 files changed, 15 insertions, 2 deletions
diff --git a/README b/README
index e15cfdc..010786f 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
deadshred - override the contents of a device that may be broken
SYNOPSIS
- deadshred device [< random-source]
+ deadshred [-o offset] [-l length | -e postend] device [< random-source]
DESCRIPTION
The deadshred utility fills a file or block devices with
@@ -12,7 +12,20 @@ DESCRIPTION
to override and retries it later.
OPTIONS
- No options are supported.
+ The following options are supported:
+
+ -e postend
+ Position in the device to stop writing at. The byte
+ indexed by the value postend will not be overwritten.
+
+ -l length
+ The number of bytes in the device to overwrite. If the
+ -o option is unused (or the offset 0 is used), this is
+ equivalent to the -e option, however the -o option is
+ used, writing will stop at length bytes past offset.
+
+ -o offset
+ The index of the first byte in the device to overwrite.
OPERANDS
The following operand is supported: