History log of /freebsd-current/bin/dd/dd.1
Revision Date Author Comments
# 90aea514 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# f4b4526f 04-Jun-2020 Richard Scheffenegger <rscheff@FreeBSD.org>

Add O_DIRECT flag to DD for cache bypass

FreeBSD DD utility has not had support for the O_DIRECT flag, which
is useful to bypass local caching, e.g. for unconditionally issuing
NFS IO requests during testing.

Reviewed by: rgrimes (mentor)
Approved by: rgrimes (mentor, blanket)
MFC after: 3 weeks
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D25066


# b52c534b 30-Sep-2019 Matt Macy <mmacy@FreeBSD.org>

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


# 919156e3 30-Sep-2019 Matt Macy <mmacy@FreeBSD.org>

Add oflag=fsync and oflag=sync capability to dd

Sets the O_FSYNC flag on the output file. oflag=fsync and oflag=sync are
synonyms just as O_FSYNC and O_SYNC are synonyms. This functionality is
intended to improve portability of dd commands in the ZFS test suite.

Submitted by: Ryan Moeller
Reviewed by: manpages, mmacy@
MFC after: 1 week
Sponsored by: iXsytems, Inc.
Differential Revision: https://reviews.freebsd.org/D21422


# 3b96efbd 30-Sep-2019 Matt Macy <mmacy@FreeBSD.org>

Add conv=fdatasync flag to dd

The fdatasync flag performs an fdatasync(2) on the output file before closing it.
This will be useful for 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/D21373


# ce1b19d8 03-Sep-2019 Matt Macy <mmacy@FreeBSD.org>

Add conv=fsync flag to dd

The fsync flag performs an fsync(2) on the output file before closing it.
This will be useful for the ZFS test suite.

Submitted by: ryan@ixsystems.com
Reviewed by: jilles@, imp@
MFC after: 1 week
Sponsored by: iXsystems, Inc.


# fd5795b2 26-Mar-2019 Edward Tomasz Napierala <trasz@FreeBSD.org>

.Xr trim(8) from dd(1).

MFC after: 2 weeks
Sponsored by: DARPA, AFRL


# 4767c42c 08-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

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
Submitted by: Thomas Hurst <tom@hur.st> (modified for style(9) nits by me)
MFC after: 1 week


# aeaef479 02-Apr-2017 Eric van Gyzen <vangyzen@FreeBSD.org>

Fix indentation in dd(1)

Quoting http://mdocml.bsd.lv/mdoc/details/width.html

Do not use macros in the argument specifying the width,
since that's not portable. While GNU troff can handle it,
mandoc cannot.

MFC after: 3 days
Sponsored by: Dell EMC


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# 2a19a3f5 05-Oct-2016 Sevan Janiyan <sevan@FreeBSD.org>

Add history section for dd(1)
First version of UNIX to include dd found using TUHS
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V5/usr/source/s1/dd.c

PR: 211777
Approved by: bcr (mentor)
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D8104


# c650c2f3 25-Aug-2016 Alex Kozlov <ak@FreeBSD.org>

Remove last remnants of acd(4), mcd(4), and scd(4) drivers.

Approved by: jhb


# 75e55112 28-Feb-2016 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add speed limit to dd(1). This is useful for testing RCTL disk io limits
(when they actually get committed, that is), and might also come in handy
in other situations.

Reviewed by: wblock@ (man page)
MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# e53d0abf 04-Feb-2016 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add 't' and 'p' postfixes to dd(1).

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# e6588b17 16-Jul-2015 David E. O'Brien <obrien@FreeBSD.org>

Mention the dd-like recoverdisk(1) to help folks find this great BSD command.


# a83c9ec1 29-Aug-2014 Warner Losh <imp@FreeBSD.org>

Update the date for last example.

Sponsored by: Netflix


# 56fd1284 28-Aug-2014 Warner Losh <imp@FreeBSD.org>

Add canonical population of a disk / thumb drive from an image
example.


# c3f5e9c5 02-Apr-2014 Xin LI <delphij@FreeBSD.org>

Implement GNU's extension of 'status' operand. The GNU syntax is
borrowed where syntax status=noxfer means no transfer statistics
and status=none means no status information at all.

This feature is useful because the statistics information can
sometimes be annoying, and redirecting stderr to /dev/null would
mean error messages also gets silenced.

Obtained from: OpenBSD
MFC after: 2 weeks


# 05d98029 01-Oct-2013 Sergey Kandaurov <pluknet@FreeBSD.org>

Sweep man pages replacing ad -> ada.

Approved by: re (blackend)
MFC after: 1 week
X-MFC note: stable/9 only


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 74f13fb3 30-Jan-2009 Giorgos Keramidas <keramida@FreeBSD.org>

Bump .Dd for r187609


# 4dd47928 22-Jan-2009 Giorgos Keramidas <keramida@FreeBSD.org>

Add an example of using bs=2048 to duplicate data CD-ROMs.

This should be a bit useful for users who look at the manpage and
then try to copy data CD-ROM disks using dd. A lot of us know
that bs=2048 is required, but it still manages to cause a bit of
grief to those who haven't heard about it.

PR: bin/130857
Submitted by: Tri Brotoharsono < mail at tribrotoharsono.net >
MFC after: 3 days


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 9358c0e3 28-Jul-2005 Giorgos Keramidas <keramida@FreeBSD.org>

Spell "protections" correctly.


# 7b020a2f 14-Jun-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort sections.

Approved by: re (blanket)


# fd525b85 07-Apr-2005 Scott Long <scottl@FreeBSD.org>

Document problems with writing to disks under GEOM.


# 6fca4c7c 16-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Add the new standard EXIT STATUS section where appropriate.
Sort standard sections in the (documented) preferred order.


# 9ddb49cb 10-Jan-2005 Warner Losh <imp@FreeBSD.org>

/*- or .\"- or #- to begin license clauses.


# 6fa13ec0 09-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Scheduled mdoc(7) sweep.


# e3edab4a 15-Aug-2004 Robert Watson <rwatson@FreeBSD.org>

Add a "fillchar" command line argument to dd(1) that permits the user
to specify an alternative padding character when using a conversion
mode, or when using noerror with sync and an input error occurs. This
facilities reading old and error-prone media by allowing the user to
more effectively mark error blocks in the output stream.


# 2360f509 16-May-2004 Ruslan Ermilov <ru@FreeBSD.org>

Bump document date for the latest functional change.
Minor markup tweaks.


# 6195fb41 06-Apr-2004 Mark Murray <markm@FreeBSD.org>

Remove clause 3 from the UCB licenses.

OK'ed by: imp, core


# 6a3d33ac 05-Mar-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Teach dd(1) about parity bits.


# e27480d6 26-Nov-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police:

Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai]
strings; using these strings is unsafe in troff mode, as they include a
change in a font size.

Approved by: re


# 7b3e3e39 29-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: replace the XXX with the correct width.


# 80c7362c 31-Mar-2002 Giorgos Keramidas <keramida@FreeBSD.org>

Various mdoc fixes, including a change that corrects spacing as
described in PR docs/36461.

PR: docs/36461
Noticed by: Gary W. Swearingen <swear@blarg.net>
Submitted by: ru


# d628d776 15-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: utilize the new .Ex macro.


# 753d686d 14-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: s/BSD/.Bx/ where appropriate.


# be8b1497 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# 6be607d0 29-Feb-2000 Brian Feldman <green@FreeBSD.org>

After Bruce kindly explained the whole groff "sentence" idea to me, I've
put the whitespace in the right place.


# c107f9e0 27-Feb-2000 Brian Feldman <green@FreeBSD.org>

Fix style bugs I introduced in the last revision.

Brucified by: bde


# a6d413e7 26-Feb-2000 Brian Feldman <green@FreeBSD.org>

Add iseek= and oseek= aliases for the preexisting skip= and seek=
operands. Can _YOU_ tell skip= and seek= apart with 100% accuracy
every time?

This also seems to make us option-for-option compatible with the
Solaris dd(1).

Approved by: jkh
Suggested by: peter


# 276d5ee8 17-Feb-2000 Gregory Sutter <gsutter@FreeBSD.org>

Reflect that dd accepts octal and hexadecimal numbers (in addition to decimal).

PR: 16750
Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>


# 2a456239 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 54946e00 20-Jun-1999 Brian Feldman <green@FreeBSD.org>

This is the second round of dd(1) changes. Some changes made/reversed by
request of Bruce. More changes may follow later. 'g' multiplier has
been added (i.e. dd seek=5g if=bigfile.) Some minor corrections were made
as well.

Noticed by: bde


# 46be34b9 08-May-1999 Kris Kennaway <kris@FreeBSD.org>

Various spelling/formatting changes.

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>


# 7d159f88 29-Nov-1998 Bruce Evans <bde@FreeBSD.org>

Describe `bs=n' more precisely. Fixed some English errors.

Obtained from: OpenBSD


# cbf6f7d3 06-May-1998 Philippe Charnier <charnier@FreeBSD.org>

Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.


# 4ddfeabd 11-Oct-1997 Joerg Wunsch <joerg@FreeBSD.org>

Teach dd(1) about an option to write sparse files. Can be useful for
things like diskless clients' swap files etc.

Submitted by: pascal@zuo.dec.com (Pascal Pederiva) (ages ago, with many
stylistic changes by me)


# 939a4c24 27-Apr-1997 Steve Price <steve@FreeBSD.org>

Change spelling of ECBDIC to EBCDIC. Closes PR #3402

Submitted by: h-nokubi@nmit.mt.nec.co.jp


# b97fa2ef 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 89730b29 23-Sep-1994 David Greenman <dg@FreeBSD.org>

Added $Id$


# 4b88c807 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite bin Sources