From e17bc0f9444e1e7c150c5023901d5b55875dd6af Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Sep 2024 16:24:07 +0200 Subject: misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'README') 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: -- cgit v1.2.3-70-g09d2