Sujet : Re: Are We Back to the "Wars" Now ?
De : robin_listas (at) *nospam* es.invalid (Carlos E.R.)
Groupes : comp.os.linux.miscDate : 23. Nov 2024, 14:39:40
Autres entêtes
Message-ID : <sh291lxvc7.ln2@Telcontar.valinor>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Mozilla Thunderbird
On 2024-11-23 08:41, Lawrence D'Oliveiro wrote:
On Sat, 23 Nov 2024 01:27:25 -0500, 186282@ud0s4.net wrote:
On 11/23/24 12:19 AM, Lawrence D'Oliveiro wrote:
>
You didn’t realize IPC on *nix is industrial-strength?
>
I know it CAN handle BIG transactions.
>
But SHOULD it ?
That’s what it’s designed for!
I use named pipes on my backup script.
I dd a hard disk partition, compress it, and at the same time calculate a checksum.
mkfifo mdpipe
dd if=/dev/$1 status=progress bs=16M | tee mdpipe | pigz -3 > $3.gz &
md5sum -b mdpipe | tee -a md5checksum_expanded
wait
rm mdpipe
echo "$3" >> md5checksum_expanded
This way there is only one disk read operation. I can see the thing running at max hard disk speed.
-- Cheers, Carlos.