freebsd-skq/bin/dd
mmacy 27a9e100ab 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
Makefile.depend
misc.c
position.c
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