summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-08-28 21:30:39 +0000
committerimp <imp@FreeBSD.org>2014-08-28 21:30:39 +0000
commitf6fd3e39b43372a6d9824cc6d74344941ca43a11 (patch)
treeb58d1a4a126eb27d5e48434cae7512c7b3221254 /bin
parent502601a54088ae2edc419343befadcf273f55be7 (diff)
downloadFreeBSD-src-f6fd3e39b43372a6d9824cc6d74344941ca43a11.zip
FreeBSD-src-f6fd3e39b43372a6d9824cc6d74344941ca43a11.tar.gz
Add canonical population of a disk / thumb drive from an image
example.
Diffstat (limited to 'bin')
-rw-r--r--bin/dd/dd.15
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/dd/dd.1 b/bin/dd/dd.1
index 0541df8..c81e631 100644
--- a/bin/dd/dd.1
+++ b/bin/dd/dd.1
@@ -408,6 +408,11 @@ To create an image of a Mode-1 CD-ROM, which is a commonly used format
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 ,
OpenPOWER on IntegriCloud