diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-21 08:57:08 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-21 08:57:08 +0200 |
commit | 0ac99ad7100334933a993413333521087e29297b (patch) | |
tree | cdcb989d9a079327f605752caa6134ece4fadfee /README | |
parent | m (diff) | |
download | deadshred-0ac99ad7100334933a993413333521087e29297b.tar.gz deadshred-0ac99ad7100334933a993413333521087e29297b.tar.bz2 deadshred-0ac99ad7100334933a993413333521087e29297b.tar.xz |
Update documentation and adjust blocksize if larger than the device size
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'README')
-rw-r--r-- | README | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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: |