svn commit: r316200 - stable/10/bin/dd

Sevan Janiyan sevan at FreeBSD.org
Thu Mar 30 02:16:35 UTC 2017


Author: sevan (doc committer)
Date: Thu Mar 30 02:16:34 2017
New Revision: 316200
URL: https://svnweb.freebsd.org/changeset/base/316200

Log:
  MFC r270771
  Add canonical population of a disk / thumb drive from an image example.

Modified:
  stable/10/bin/dd/dd.1
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/bin/dd/dd.1
==============================================================================
--- stable/10/bin/dd/dd.1	Thu Mar 30 02:03:34 2017	(r316199)
+++ stable/10/bin/dd/dd.1	Thu Mar 30 02:16:34 2017	(r316200)
@@ -408,6 +408,11 @@ To create an image of a Mode-1 CD-ROM, w
 for data CD-ROM disks, use a block size of 2048 bytes:
 .Pp
 .Dl "dd if=/dev/acd0 of=filename.iso bs=2048"
+.Pp
+Write a filesystem image to a memory stick, padding the end with zeros,
+if necessary, to a 1MiB boundary:
+.Pp
+.Dl "dd if=memstick.img of=/dev/da0 bs=1m conv=noerror,sync"
 .Sh SEE ALSO
 .Xr cp 1 ,
 .Xr mt 1 ,


More information about the svn-src-all mailing list