summaryrefslogtreecommitdiff
path: root/bin/dd
AgeCommit message (Collapse)Author
2011-10-18Support K and M as well as k and m for sizes. From Thomas Pfaff.Nicholas Marriott
ok millert jmc
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-05-12The conversions ascii, ebcdic and ibm are XPG4, not POSIX.Ingo Schwarze
The size multipliers m and w are BSD extensions, not POSIX. While here, sort the conversions alphabetically. help and OK jmc@, sobrado@; and sthen@ on an earlier version
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-10-05the ellipsis allow more than one operand being specified.Igor Sobrado
ok jmc@
2007-11-10remove "unused variable" warning appearing when building releaseCharles Longeau
ok millert@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29- consistent STANDARDS blurbJason McIntyre
- note which options are extensions to POSIX discussed w/ deraadt otto millert
2006-11-07It is better to use isatty() to see if a dev is seekable, becauseOtto Moerbeek
skipping blocks on a raw disk device with bad sectors should be possible. Noted by Geoff Steckel; ok tom@ deraadt@
2006-11-07fix skipping when reading from a tty; reported by Karel KulhavyOtto Moerbeek
<clock at twibright dot com>; ok deraadt@
2006-11-01Fix range checking for in.dbsz and out.dbsz.Ray Lai
Add range checking for cbsz. Change type in format string to %zd and cast SSIZE_MAX to ssize_t. Fixes PR 5278 submitted by malaler at gmail dot com. OK otto@ and millert@.
2006-06-01add another exmaple; stolen from a nick holland email...Jason McIntyre
2006-05-31- use .ExJason McIntyre
- standard EXAMPLES
2006-03-22change %u to %zu to correctly print size_tDavid Hill
ok ray@ jaredy@ moritz@
2005-05-27include sys/time.h to get struct timevalTodd C. Miller
2005-04-08Correct comment about using m in blocksize (multiplies by 1048576 not 512).Jonathan Gray
2004-03-18typo from Jared Yanovich;Jason McIntyre
2003-07-28sync floppy dd example with the real worldTodd T. Fries
ok deraadt@ jmc@
2003-06-25fix protosTheo de Raadt
2003-06-11ansification, art okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-12more .LiTheo de Raadt
2002-10-28Seeking on a character device works fine.Todd C. Miller
2002-05-29Add a cast to keep time from overflowing. Checked by millert.Hugh Graham
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2001-10-06Fix ``echo foo |dd'' which was broken by the last commit.Todd C. Miller
2001-10-04Move check for count=0 into dd's main. We want to do normal setupTodd C. Miller
in this case and just don't want to actually copy any data. Fixes a problem noted by aaron@ where the time portion of the summary would be wrong and also gives us sane behavior when seek is non-zero but count is 0.
2001-08-07Modify timekeeping in an effort to produce a sane bandwidth measureHugh Graham
for a short running dd process. Some floating point is used so that microsecond precision can be kept without shortening the off_t excessively. millert says ok.
2001-06-25had not noticed the atexit() handler; pointed out by dima@unixfreak.org; ↵Theo de Raadt
also use writev to increase atomicity
2001-06-22do not exit() from signal handlerTheo de Raadt
2001-01-17avoid C sequence point issues; found by cgd@netbsd.org using a developmentPaul Janzen
version of gcc.
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
existing EXAMPLES sections.
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
1999-09-23Some formatting tweaks. Shuffle the option descriptions into a more logicalAaron Campbell
order.
1999-08-16more precise SYNOPSIS syntaxAaron Campbell
1999-05-30repairsAaron Campbell
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneAaron Campbell
it's given)
1998-11-06use .Dq/.Sq macros instead of `` ''s and ` 's (think typesetting and futureAaron Campbell
processing); kill redundant .Pp macros; other misc fixes
1998-09-14First complete sweep of man pages, bin/. Command/function names previouslyAaron Campbell
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS cleanups, other miscellaneous typos.
1998-07-09why bother; msaitohTheo de Raadt
1998-05-29gcc 2.8.X.X fixed this bug, back to a sane Makefile.Dale S. Rahn
1998-04-30WallTheo de Raadt
1997-11-15spellingTodd T. Fries
1997-09-21$OpenBSD$Theo de Raadt
1997-09-12-WallTodd C. Miller
1997-08-25clear input buffer to ' ' or \0 correctly; jlemon@freebsdTheo de Raadt
1997-08-05errno.hTheo de Raadt