From 715018b970b39c88bf85078e205f7f933286cab7 Mon Sep 17 00:00:00 2001 From: sevan Date: Thu, 30 Mar 2017 02:16:34 +0000 Subject: [PATCH] MFC r270771 Add canonical population of a disk / thumb drive from an image example. git-svn-id: svn://svn.freebsd.org/base/stable/10@316200 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- bin/dd/dd.1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/dd/dd.1 b/bin/dd/dd.1 index 0541df886..c81e63161 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 , -- 2.42.0