git: dd(1): Sync with FreeBSD
Aaron LI
aly at crater.dragonflybsd.org
Mon Aug 31 19:18:35 PDT 2026
commit e504c45621e39cec43b2c73cbc2d61b5adec9a0c
Author: Aaron LI <aly at aaronly.me>
Date: Tue Sep 1 10:13:03 2026 +0800
dd(1): Sync with FreeBSD
New features:
- Added conv=fsync flag
- Added conv=fdatasync flag
- Added oflag=fsync and oflag=sync flags
- Added iflag=fullblock flag
- Added iflag=direct and oflag=direct flags that set O_DIRECT
Fixes:
- Fixed SIGINT handling.
Summary of changes:
bin/dd/args.c | 103 ++++++++++++++++++++++++++++++++++++++--------
bin/dd/conv.c | 4 +-
bin/dd/conv_tab.c | 6 +--
bin/dd/dd.1 | 56 +++++++++++++++++++++----
bin/dd/dd.c | 111 ++++++++++++++++++++++++++++++++------------------
bin/dd/dd.h | 82 ++++++++++++++++++-------------------
bin/dd/extern.h | 17 ++++----
bin/dd/gen.c | 2 -
bin/dd/misc.c | 61 ++++++++++++++++++++++++---
bin/dd/position.c | 15 +++----
bin/dd/ref.ascii | 1 -
bin/dd/ref.ebcdic | 1 -
bin/dd/ref.ibm | 1 -
bin/dd/ref.lcase | 1 -
bin/dd/ref.obs_zeroes | 1 -
bin/dd/ref.oldascii | 1 -
bin/dd/ref.oldebcdic | 1 -
bin/dd/ref.oldibm | 1 -
bin/dd/ref.pareven | 1 -
bin/dd/ref.parnone | 1 -
bin/dd/ref.parodd | 1 -
bin/dd/ref.parset | 1 -
bin/dd/ref.swab | 1 -
bin/dd/ref.ucase | 1 -
24 files changed, 320 insertions(+), 151 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e504c45621e39cec43b2c73cbc2d61b5adec9a0c
--
DragonFly BSD source repository
More information about the Commits
mailing list