1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/bin/dd
Matt Macy b52c534bff Add iflag=fullblock to dd
Normally, count=n means read(2) will be called n times on the input to dd. If
the read() returns short, as may happen when reading from a pipe, fewer bytes
will be copied from the input. With conv=sync the buffer is padded with zeros
to fill the rest of the block.

iflag=fullblock causes dd to continue reading until the block is full, so that
count=n means n full blocks are copied. This flag is compatible with illumos
and GNU dd and is used in the ZFS test suite.

Submitted by:	Ryan Moeller
Reviewed by:	manpages, mmacy@
MFC after:	1 week
Sponsored by:	 iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D21441
2019-09-30 22:00:48 +00:00
..
tests
args.c Add iflag=fullblock to dd 2019-09-30 22:00:48 +00:00
conv_tab.c
conv.c
dd.1 Add iflag=fullblock to dd 2019-09-30 22:00:48 +00:00
dd.c Add iflag=fullblock to dd 2019-09-30 22:00:48 +00:00
dd.h Add iflag=fullblock to dd 2019-09-30 22:00:48 +00:00
extern.h Add conv=fdatasync flag to dd 2019-09-30 21:48:12 +00:00
gen.c
Makefile dd: Incorporate some changes from imp for status=progress 2018-08-15 19:46:13 +00:00
Makefile.depend
misc.c dd(1): Correct padding in status=progress 2018-09-13 14:54:46 +00:00
position.c dd: Incorporate some changes from imp for status=progress 2018-08-15 19:46:13 +00:00
ref.ascii
ref.ebcdic
ref.ibm
ref.lcase
ref.obs_zeroes
ref.oldascii
ref.oldebcdic
ref.oldibm
ref.pareven
ref.parnone
ref.parodd
ref.parset
ref.swab
ref.ucase