aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-17 19:32:05 +0200
committerMattias Andrée <maandree@kth.se>2024-09-17 19:32:09 +0200
commit7df27c110a0f0a97a940283e20fc52b267f6fdab (patch)
treedaa477fbd9c15592a868f6d28f84d12641a47ac4 /README
parentAdd README and deadshred.1 (diff)
downloaddeadshred-7df27c110a0f0a97a940283e20fc52b267f6fdab.tar.gz
deadshred-7df27c110a0f0a97a940283e20fc52b267f6fdab.tar.bz2
deadshred-7df27c110a0f0a97a940283e20fc52b267f6fdab.tar.xz
Use rand(3) when stdin is a TTY
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 4 insertions, 3 deletions
diff --git a/README b/README
index f9de47b..e15cfdc 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 device [< random-source]
DESCRIPTION
The deadshred utility fills a file or block devices with
@@ -22,8 +22,9 @@ OPERANDS
a block device.
STDIN
- The standard input shall be an unless source of either random
- data or a particular byte to fill the device with.
+ Unless the standard input is a terminal device, it shall be an
+ unless source of either random data or a particular byte to
+ fill the device with.
NOTES
While the deadshred utility is designed for block devices, it