git: dd(1): Sync with FreeBSD

2019-02-14 Thread Aaron LI
commit 0eeb0a9ed631ea08815777f3ff59e4e9c48dceee Author: Aaron LI Date: Fri Feb 15 00:12:06 2019 +0800 dd(1): Sync with FreeBSD Some highlights: * Add the "fillchar" operand. * Add the "speed" operand to limit the speed. * Support to specify the output data parity in

git: dd(1): Rework the time interval calculation

2019-02-14 Thread Aaron LI
commit fc98fc71ea79f0e384f90814cb1a90c4e578bd9a Author: Aaron LI Date: Thu Feb 14 21:38:21 2019 +0800 dd(1): Rework the time interval calculation dd(1) uses gettimeofday(2) to compute the throughput statistics. However, gettimeofday returns the system clock, which may jump

git: dd(1): Make signal handler async safe

2019-02-14 Thread Aaron LI
commit 493fd20cdd4bfd6684d359d2e3a50826e807a71f Author: Aaron LI Date: Thu Feb 14 21:06:26 2019 +0800 dd(1): Make signal handler async safe Obtained-from: FreeBSD (revision 250469) Summary of changes: bin/dd/dd.c | 6 +- bin/dd/extern.h | 32

git: dd(1): Implement GNU's extension of "status" operand

2019-02-14 Thread Aaron LI
commit 739ce91049ab07d70253b3620f65eba5ac171cd8 Author: Aaron LI Date: Thu Feb 14 20:34:21 2019 +0800 dd(1): Implement GNU's extension of "status" operand * status=none: do not print status information * status=noxfer: do not print transfer statistics This