summaryrefslogtreecommitdiffstats
path: root/bin/dd/dd.h
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-10-11 20:09:05 +0000
committerjoerg <joerg@FreeBSD.org>1997-10-11 20:09:05 +0000
commit4841b45bbe197e54bb7732317930e8591d51362c (patch)
tree2bbaeb532cca6a0c260f5fc674f9d1d0ce9b10cb /bin/dd/dd.h
parent11466e2a6f0898af142d8fbff4ead6b7078c6e04 (diff)
downloadFreeBSD-src-4841b45bbe197e54bb7732317930e8591d51362c.zip
FreeBSD-src-4841b45bbe197e54bb7732317930e8591d51362c.tar.gz
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)
Diffstat (limited to 'bin/dd/dd.h')
-rw-r--r--bin/dd/dd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/dd/dd.h b/bin/dd/dd.h
index 30904d9..477f444 100644
--- a/bin/dd/dd.h
+++ b/bin/dd/dd.h
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)dd.h 8.3 (Berkeley) 4/2/94
- * $Id$
+ * $Id: dd.h,v 1.6 1997/02/22 14:02:45 peter Exp $
*/
/* Input/output stream state. */
@@ -95,3 +95,4 @@ typedef struct {
#define C_UCASE 0x40000
#define C_UNBLOCK 0x80000
#define C_OSYNC 0x100000
+#define C_SPARSE 0x200000
OpenPOWER on IntegriCloud