aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
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: