diff options
author | sevan <sevan@FreeBSD.org> | 2017-03-30 02:16:34 +0000 |
---|---|---|
committer | sevan <sevan@FreeBSD.org> | 2017-03-30 02:16:34 +0000 |
commit | 927492467ac7c1782268de65947bd7568963ef42 (patch) | |
tree | e81bb50acaf4cd228d61c456c76e65512a7dc094 | |
parent | 1f92d8fc2ce972ffd2720119cfa10a4217a25c7f (diff) | |
download | FreeBSD-src-927492467ac7c1782268de65947bd7568963ef42.zip FreeBSD-src-927492467ac7c1782268de65947bd7568963ef42.tar.gz |
MFC r270771
Add canonical population of a disk / thumb drive from an image example.
-rw-r--r-- | bin/dd/dd.1 | 5 |
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 , |