svn commit: r187924 - stable/6/bin/dd

Giorgos Keramidas keramida at FreeBSD.org
Fri Jan 30 08:32:55 PST 2009


Author: keramida (doc committer)
Date: Fri Jan 30 16:32:26 2009
New Revision: 187924
URL: http://svn.freebsd.org/changeset/base/187924

Log:
  MFC 187922,187609 from /head
  
    Add an example of using bs=2048 to duplicate data CD-ROMs.
  
    This should be a bit useful for users who look at the manpage and
    then try to copy data CD-ROM disks using dd.  A lot of us know
    that bs=2048 is required, but it still manages to cause a bit of
    grief to those who haven't heard about it.
  
    PR:             bin/130857
    Submitted by:   Tri Brotoharsono < mail at tribrotoharsono.net >

Modified:
  stable/6/bin/dd/   (props changed)
  stable/6/bin/dd/dd.1

Modified: stable/6/bin/dd/dd.1
==============================================================================
--- stable/6/bin/dd/dd.1	Fri Jan 30 16:28:32 2009	(r187923)
+++ stable/6/bin/dd/dd.1	Fri Jan 30 16:32:26 2009	(r187924)
@@ -32,7 +32,7 @@
 .\"     @(#)dd.1	8.2 (Berkeley) 1/13/94
 .\" $FreeBSD$
 .\"
-.Dd August 15, 2004
+.Dd January 23, 2009
 .Dt DD 1
 .Os
 .Sh NAME
@@ -392,6 +392,11 @@ Remove parity bit from a file:
 Check for (even) parity errors on a file:
 .Pp
 .Dl "dd if=file conv=pareven | cmp -x - file"
+.Pp
+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"
 .Sh SEE ALSO
 .Xr cp 1 ,
 .Xr mt 1 ,


More information about the svn-src-stable-6 mailing list