From 0ac99ad7100334933a993413333521087e29297b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 21 Sep 2024 08:57:08 +0200 Subject: Update documentation and adjust blocksize if larger than the device size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 010786f..54ace7b 100644 --- a/README +++ b/README @@ -2,7 +2,8 @@ NAME deadshred - override the contents of a device that may be broken SYNOPSIS - deadshred [-o offset] [-l length | -e postend] device [< random-source] + deadshred [-b blocksize] [-o offset] [-l length | -e postend] + [-r] device [< random-source] DESCRIPTION The deadshred utility fills a file or block devices with @@ -14,6 +15,10 @@ DESCRIPTION OPTIONS The following options are supported: + -b blocksize + Selects the initial block-size for writing on the + first pass over the device. + -e postend Position in the device to stop writing at. The byte indexed by the value postend will not be overwritten. @@ -27,6 +32,10 @@ OPTIONS -o offset The index of the first byte in the device to overwrite. + -r + Start writing from the end instead of from the + beginning on the first pass over the device. + OPERANDS The following operand is supported: -- cgit v1.2.3-70-g09d2