Date: Thu, 28 Aug 2014 21:30:39 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r270771 - head/bin/dd Message-ID: <201408282130.s7SLUdOq002677@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 ,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408282130.s7SLUdOq002677>