svn commit: r270771 - head/bin/dd
Warner Losh
imp at FreeBSD.org
Thu Aug 28 21:30:40 UTC 2014
Author: imp
Date: Thu Aug 28 21:30:39 2014
New Revision: 270771
URL: http://svnweb.freebsd.org/changeset/base/270771
Log:
Add canonical population of a disk / thumb drive from an image
example.
Modified:
head/bin/dd/dd.1
Modified: head/bin/dd/dd.1
==============================================================================
--- head/bin/dd/dd.1 Thu Aug 28 21:27:37 2014 (r270770)
+++ head/bin/dd/dd.1 Thu Aug 28 21:30:39 2014 (r270771)
@@ -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-head
mailing list