aboutsummaryrefslogtreecommitdiff
path: root/bin/dd
Commit message (Collapse)AuthorAgeFilesLines
* Bump .Dd for r187609Giorgos Keramidas2009-01-301-1/+1
| | | | Notes: svn path=/head/; revision=187922
* Add an example of using bs=2048 to duplicate data CD-ROMs.Giorgos Keramidas2009-01-231-0/+5
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=187609
* More inactive maintainers.Mark Murray2006-07-091-2/+0
| | | | Notes: svn path=/head/; revision=160218
* Spell "protections" correctly.Giorgos Keramidas2005-07-281-1/+1
| | | | Notes: svn path=/head/; revision=148490
* Sort sections.Ruslan Ermilov2005-06-141-8/+8
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147363
* Document problems with writing to disks under GEOM.Scott Long2005-04-071-1/+10
| | | | Notes: svn path=/head/; revision=144758
* Add the new standard EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-161-2/+2
| | | | | | | Sort standard sections in the (documented) preferred order. Notes: svn path=/head/; revision=140353
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-102-1/+2
| | | | Notes: svn path=/head/; revision=139969
* Scheduled mdoc(7) sweep.Ruslan Ermilov2005-01-091-5/+8
| | | | Notes: svn path=/head/; revision=139943
* Add a "fillchar" command line argument to dd(1) that permits the userRobert Watson2004-08-155-2/+32
| | | | | | | | | | 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. Notes: svn path=/head/; revision=133762
* Allow for capital letters as size suffixes.Pawel Jakub Dawidek2004-07-311-8/+20
| | | | | | | | Inspired by: le Approved by: green (maintainer) Notes: svn path=/head/; revision=132933
* Bump document date for the latest functional change.Ruslan Ermilov2004-05-161-6/+10
| | | | | | | Minor markup tweaks. Notes: svn path=/head/; revision=129295
* Style fixes and add gen to CLEANFILES.Nate Lawson2004-04-091-12/+15
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=128048
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-069-36/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Remove a.out at the end of 'make test'Andrey A. Chernov2004-03-081-1/+1
| | | | Notes: svn path=/head/; revision=126749
* Fixed some style bugs (mainly unsorting and tab lossage in previous commit).Bruce Evans2004-03-061-16/+15
| | | | Notes: svn path=/head/; revision=126690
* Add a.out to CLEANFILESAndrey A. Chernov2004-03-061-0/+1
| | | | Notes: svn path=/head/; revision=126687
* Change locale name from non-existent ASCII to en_US.US-ASCIIAndrey A. Chernov2004-03-061-2/+2
| | | | Notes: svn path=/head/; revision=126685
* Teach dd(1) about parity bits.Poul-Henning Kamp2004-03-059-21/+157
| | | | Notes: svn path=/head/; revision=126667
* Add a test-target and reference vectors for the character converions.Poul-Henning Kamp2004-03-0511-0/+194
| | | | Notes: svn path=/head/; revision=126666
* Get this area compiling with the highest WARNS= that it works with.Mark Murray2003-06-131-1/+0
| | | | | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386 Notes: svn path=/head/; revision=116282
* Quiet warnings about copyright[].David E. O'Brien2003-05-011-2/+2
| | | | Notes: svn path=/head/; revision=114433
* ssize_t is not required to be the same width as size_t by theRuslan Ermilov2003-03-151-4/+6
| | | | | | | | | specs, so cast to intmax_t where appropriate. Pointed out by: bde Notes: svn path=/head/; revision=112265
* Fixed (soon might be fatal) -Wformat warnings.Ruslan Ermilov2003-03-151-2/+2
| | | | Notes: svn path=/head/; revision=112254
* WARNS=4 fixes. This would be WARNS=9 if we were -std=99 instead ofMark Murray2003-02-278-47/+50
| | | | | | | | | -ansi, due to 'long long'. Reviewed by: green (slightly earlier version) Notes: svn path=/head/; revision=111629
* Don't call DIOCWLABEL on disks, it is not implemented, and calling itPoul-Henning Kamp2003-01-261-7/+1
| | | | | | | like this negated any practical value of the feature. Notes: svn path=/head/; revision=109873
* mdoc(7) police:Ruslan Ermilov2002-11-261-1/+1
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=107282
* Consistently use __FBSDIDDavid E. O'Brien2002-06-306-12/+12
| | | | Notes: svn path=/head/; revision=99109
* Replace <strings.h> with <string.h>. No functions from the former areGiorgos Keramidas2002-06-091-1/+1
| | | | | | | | | | used in this file, and strlen() needs to be prototyped by the latter, for this to compile without warnings. Reviewed by: mike Notes: svn path=/head/; revision=98061
* mdoc(7) police: replace the XXX with the correct width.Ruslan Ermilov2002-05-291-2/+1
| | | | Notes: svn path=/head/; revision=97458
* Add semicolon to empty default case to silence warning.Chris D. Faulhaber2002-05-111-0/+1
| | | | Notes: svn path=/head/; revision=96383
* Various mdoc fixes, including a change that corrects spacing asGiorgos Keramidas2002-03-311-43/+53
| | | | | | | | | | | described in PR docs/36461. PR: docs/36461 Noticed by: Gary W. Swearingen <swear@blarg.net> Submitted by: ru Notes: svn path=/head/; revision=93486
* 1) Rev.1.35 of dd.c has a more serious regression. It backs out rev.1.31,Mark Murray2002-03-071-1/+2
| | | | | | | | | | | thus breaking systems with unpolluted <sys/stat.h>'s. 2) Back out an initialisation of a variable in BSS. Reported by: bde (1), many(2) Notes: svn path=/head/; revision=91807
* Fix warnings inspired by lint, a commercial lint and WARNS=4.Mark Murray2002-02-223-7/+3
| | | | Notes: svn path=/head/; revision=91079
* Correct a logic bug that snuck in and broke multiplication of off_ts.Brian Feldman2002-02-071-1/+1
| | | | Notes: svn path=/head/; revision=90331
* Lock down with WFORMAT=1 except those directories with unfixed warnings.Kris Kennaway2002-02-041-0/+1
| | | | | | | Tested on i386 and alpha. Notes: svn path=/head/; revision=90166
* o __P has been reovedWarner Losh2002-02-026-91/+68
| | | | | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Approved by: arch@, new style(9) Notes: svn path=/head/; revision=90108
* Commit general cleanups (separate get_num() and get_off_t() functions toBrian Feldman2002-01-253-59/+109
| | | | | | | | debogosify some of the command-line string-number conversions into an unsigned and signed variant.) Notes: svn path=/head/; revision=89788
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-0/+1
| | | | | | | | | set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87323
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-3/+1
| | | | Notes: svn path=/head/; revision=81687
* mdoc(7) police: s/BSD/.Bx/ where appropriate.Ruslan Ermilov2001-08-141-2/+6
| | | | Notes: svn path=/head/; revision=81622
* Use __unused for non-used variables.Brian Feldman2001-06-292-2/+2
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78985
* Previous commit broke dd(1)'s I/O summary when it's terminated by aDima Dorfman2001-06-251-0/+1
| | | | | | | | | | | | signal. Fix it by adding an explicit call to summary() in terminate() (it was previously called implicitly by exit() because summary() was registered with atexit()). summary() is supposed to be signal-safe-- it handles SIGINFO almost exclusively--so this should be safe. Submitted by: bde Notes: svn path=/head/; revision=78755
* Don't call exit(3) from a signal handler.Dima Dorfman2001-06-241-2/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=78688
* Add more headers that are required with -fno-builtin (stdlib and strings)Dag-Erling Smørgrav2001-06-191-0/+2
| | | | Notes: svn path=/head/; revision=78469
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68935
* Allow negative seek offsets for files that can be seeked upon. ItBrian Feldman2000-10-222-2/+10
| | | | | | | | makes dd(1) a more complete "filter", even if this functionality is limited to seekable streams. Notes: svn path=/head/; revision=67451
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebyGarrett Wollman2000-10-101-0/+1
| | | | | | | <time.h>). Notes: svn path=/head/; revision=66907
* Make the comment regarding ftruncate() correct.Brian Feldman2000-07-201-2/+2
| | | | Notes: svn path=/head/; revision=63688
* Various cleanups are made to reduce warnings and make code prettier :)Brian Feldman2000-07-015-17/+29
| | | | | | | | Also, check for ftruncate() return value and die on failure, but only try to ftruncate() when the file is a regular file. Notes: svn path=/head/; revision=62311