]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r337505, r337865, r337869: dd status=progress
authorkevans <kevans@FreeBSD.org>
Wed, 29 Aug 2018 02:18:13 +0000 (02:18 +0000)
committerkevans <kevans@FreeBSD.org>
Wed, 29 Aug 2018 02:18:13 +0000 (02:18 +0000)
commit8c00a8c01e99dcdb8ef723f02b90e98fb6f2444c
treed397c102f4ced0f7af6d38977d79fcc36fb78697
parent331a13c9e95d1e969ff0ebaf6bc3d5b36a647a64
MFC r337505, r337865, r337869: dd status=progress

r337505:
dd: add status=progress support

This reports the current status on a single line every second, mirroring
similar functionality in GNU dd, and carefully interacts with SIGINFO.

PR: 229615

r337865:
dd: Incorporate some changes from imp for status=progress

Notable changes from what landed in r337505:
- sigalarm handler isn't setup unless we're actually using it
- Humanized versions of the amount of data transferred in the progress
  update

r337869:
dd(1): Kill off duplicate progress definition following r337865
bin/dd/Makefile
bin/dd/args.c
bin/dd/dd.1
bin/dd/dd.c
bin/dd/dd.h
bin/dd/extern.h
bin/dd/misc.c
bin/dd/position.c