Module Name: src Committed By: pooka Date: Mon Nov 22 21:04:28 UTC 2010
Modified Files: src/bin/dd: Makefile args.c dd.c dd.h extern.h position.c Log Message: 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). To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/bin/dd/Makefile src/bin/dd/dd.h cvs rdiff -u -r1.26 -r1.27 src/bin/dd/args.c cvs rdiff -u -r1.43 -r1.44 src/bin/dd/dd.c cvs rdiff -u -r1.17 -r1.18 src/bin/dd/extern.h src/bin/dd/position.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.