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 /README | |
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 '')
-rw-r--r-- | README | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |