From 7df27c110a0f0a97a940283e20fc52b267f6fdab Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 17 Sep 2024 19:32:05 +0200 Subject: Use rand(3) when stdin is a TTY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README') 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 -- cgit v1.2.3-70-g09d2