Re:On overwriting disks (on OpenBSD 7.0-current)
by hddqsb on Thursday March 03, 2022 @10:57PM
(#30550531)
On Linux, pv can actually determine the size of the output device (using lseek on stdout), so `pv </dev/zero >/dev/sdb` does give a correct ETA (tested with pv 1.6.6 on Debian).
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.