diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-17 19:32:05 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-17 19:32:09 +0200 |
commit | 7df27c110a0f0a97a940283e20fc52b267f6fdab (patch) | |
tree | daa477fbd9c15592a868f6d28f84d12641a47ac4 /deadshred.1 | |
parent | Add README and deadshred.1 (diff) | |
download | deadshred-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 'deadshred.1')
-rw-r--r-- | deadshred.1 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/deadshred.1 b/deadshred.1 index eb321d5..be586b2 100644 --- a/deadshred.1 +++ b/deadshred.1 @@ -5,8 +5,8 @@ deadshred \- override the contents of a device that may be broken .SH SYNOPSIS .B deadshred .I device -< -.I random-source +[< +.IR random-source ] .SH DESCRIPTION The @@ -30,8 +30,9 @@ The file to override. Must be either a regular file or a block device. .SH 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. .SH NOTES While the |