Re:On overwriting disks (on OpenBSD 7.0-current)
by LeoPanthera on Thursday March 03, 2022 @09:39PM
(#30549978)
You have to supply the input device (or file) as an argument, instead of using stdin. Then it will read the size of the device/file.
As far as I know, this does not work for the output device, and the size must be specified.
So:
pv /path/file >/dev/device
Will give you an ETA.
I recently did
pv </dev/zero >/dev/sdb
to zero a drive and I'm pretty sure it gave me an ETA...