[PATCH] dd usage patch

James Simmons jsimmons at infradead.org
Mon Apr 7 10:42:38 PDT 2008


This patch adds info form the dd improvements that where recently checked 
in.

Index: include/usage.h
===================================================================
--- include/usage.h	(revision 21662)
+++ include/usage.h	(working copy)
@@ -634,7 +634,7 @@
 
 #define dd_trivial_usage \
        "[if=FILE] [of=FILE] " USE_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \
-       "	[seek=N]" USE_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync]")
+       "	[seek=N]" USE_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync]")
 #define dd_full_usage \
        "Copy a file with converting and formatting\n" \
      "\nOptions:" \
@@ -651,7 +651,8 @@
 	USE_FEATURE_DD_IBS_OBS( \
      "\n	conv=notrunc	Don't truncate output file" \
      "\n	conv=noerror	Continue after read errors" \
-     "\n	conv=sync	Pad blocks with zeros") \
+     "\n	conv=sync	Pad blocks with zeros" \
+     "\n	conv=fsync	physically write output file data before finishing") \
      "\n" \
      "\nNumbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024)," \
      "\nMD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)" \


More information about the busybox mailing list