Date: Thu, 30 Mar 2017 02:16:34 +0000 (UTC) From: Sevan Janiyan <sevan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r316200 - stable/10/bin/dd Message-ID: <201703300216.v2U2GYaj007004@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 ,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703300216.v2U2GYaj007004>