[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tee: Add -q, --quiet option to not write to stdout
From: |
Bernhard Voelker |
Subject: |
Re: [PATCH] tee: Add -q, --quiet option to not write to stdout |
Date: |
Thu, 21 Jan 2021 22:02:17 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 |
On 1/21/21 7:00 PM, Alejandro Colomar (man-pages) wrote:
> On 1/21/21 6:17 PM, Bernhard Voelker wrote:
>> On 1/21/21 4:48 PM, Alejandro Colomar (man-pages) wrote:
>>> - dd is quite dangerous, and I would avoid it for simple tasks.
>>
>> well, every tool which can overwrite something could be considered
>> dangerous then, right? ;-)
>
> Well, it is, but dd is happy overwriting /dev/sda :)
That argument doesn't really hold:
It's not 'dd' which allows this, but the kernel ... if the current user
has permissions to write to '/dev/sda'. Consequently, 'tee /dev/sda'
- with superuser permissions - will also overwrite.
Have a nice day,
Berny
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, (continued)
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Rodney W. Grimes, 2021/01/27
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Alex Henrie, 2021/01/26
- (resend) - simple fix to eliminate the need for a new feature in 'tee'. (was Re: [PATCH v3 (resend)] tee: ...), L A Walsh, 2021/01/26
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Rodney W. Grimes, 2021/01/27
- Re: [PATCH v3 (resend)] tee: Add -q, --quiet, --silent option to not write to stdout, Philipp-Joachim Ost, 2021/01/25
- Re: [PATCH] tee: Add -q, --quiet option to not write to stdout, Eric Pruitt, 2021/01/21
- Re: [PATCH] tee: Add -q, --quiet option to not write to stdout, Christian Groessler, 2021/01/21
- Re: [PATCH] tee: Add -q, --quiet option to not write to stdout, Jeffrey Walton, 2021/01/21
- Re: [PATCH] tee: Add -q, --quiet option to not write to stdout, Eric Pruitt, 2021/01/21
- Re: [PATCH] tee: Add -q, --quiet option to not write to stdout, Erik Auerswald, 2021/01/22
- Re: [PATCH] tee: Add -q, --quiet option to not write to stdout,
Bernhard Voelker <=
Re: [PATCH] tee: Add -q, --quiet option to not write to stdout, Jeffrey Walton, 2021/01/21
Use tq instead of tee: Add -q, --quiet option to not write to stdout, L A Walsh, 2021/01/25