05.12.2024 00:44, Vincent Lefevre wrote:
On 2024-12-04 19:46:53 +0300, Michael Tokarev wrote:
cp(1) does open(O_TRUNC), write(), close().

AFAIK, there is no guarantee that cp(1) does a single write():
Again, it does not matter.  Even if cp will write one byte at a
time, all of them will write identical content anyway.  Collectively
overriding file with the same bytes.

/mjt

Reply via email to