Add canonical population of a disk / thumb drive from an image

example.
This commit is contained in:
Warner Losh 2014-08-28 21:30:39 +00:00
parent 4d19f4ad1f
commit 56fd128433
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270771

View File

@ -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 ,