Home | History | Annotate | Download | only in dd
History log of /src/bin/dd/position.c
RevisionDateAuthorComments
 1.18  22-Nov-2010  pooka branches: 1.18.48;
Add two new operands: "rif" and "rof". They operate exactly like
"if" and "of" with the exception that the communicate with a rump
kernel instead of the host kernel.

For example, to write stdout to /tmp/file.txt in a rump kernel namespace:
dd rof=/tmp/file.txt

copy /file1 to /file2 inside a rump kernel:
dd rif=/file1 rof=/file2

copy a snippet from /dev/rmd0d on the rump kernel to the host fs:
dd rif=/dev/rmd0d of=save seek=1000 count=3

Eat that, usermode OS.

(I'll document the operands one I have some manpage to refer to
for rump client use).
 1.17  14-Feb-2009  lukem fix -Wsign-compare issues
 1.16  14-Sep-2003  jschauma branches: 1.16.40;
Following private discussion with kleink@ and hubertf@ and public discussion
on tech-userlevel@, back out printescaped() functionality.
kleink: ``We sell rope.''
 1.15  20-Aug-2003  kleink Minor KNF nit from rev. 1.13.
 1.14  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.13  04-Aug-2003  jschauma As discusses a little while back on tech-userlevel:

If stdout is a tty, use vis(3) to print any filenames to prevent garbage
from being printed if the filename contains control- or other non-printable
characters.

While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
 1.12  26-Nov-2001  enami a bit more cosmetic changes.
 1.11  25-Nov-2001  lukem - ANSI KNF
- WARNS=2 (mainly converting some "char *" -> "const char *")
 1.10  28-Apr-2001  ross In the words of Our Fearless Leader, I am "utterly sick" of dd(1)
lying to me about transfer rates. Do some fixed point frobbing to get
stuff like: 2486864 bytes transferred in 0.272 secs (9142882 bytes/sec)
 1.9  02-Aug-2000  christos block siginfo during writes.
 1.8  09-Oct-1999  jtk branches: 1.8.6;
fix comment regarding when we attempt to seek
 1.7  04-Oct-1999  mycroft Use lseek(2) on character devices, damn it.
 1.6  25-Jul-1997  phil branches: 1.6.4; 1.6.6;
Do multiply in lseek calls as off_t arithmetic. This allows for seeks
of more than INT_MAX. Removed Check for INT_MAX as maximum seeks.
Fixes PR 2101.
 1.5  20-Jul-1997  christos Fix compiler warnings.
Add WARNS=1
 1.4  21-Mar-1995  cgd convert to new RCS id conventions.
 1.3  22-Sep-1994  mycroft Merge 4.4-Lite version.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  04-May-1993  glass branches: 1.1.1;
added dd(1) from ftp.uu.net:bsd-sources; torching GNU dd
 1.1.1.1  22-Sep-1994  mycroft Import original 4.4-Lite version.
 1.6.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.4.1  30-Apr-2000  he Pull up revisions 1.7-1.8 (requested by jhawk):
Correctly lseek() on non-tape character devices (e.g. disks)
as the manual page documents.
 1.8.6.1  26-Aug-2000  matt Pull up dd.c 1.17, extern.h 1.10, position 1.9. approved by thorpej:
>fix conv=swap when ibs!=obs
>block SIGINFO when writing
 1.16.40.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.18.48.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.18.48.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed