diff options
author | Giorgos Keramidas <keramida@FreeBSD.org> | 2009-01-23 03:46:44 +0000 |
---|---|---|
committer | Giorgos Keramidas <keramida@FreeBSD.org> | 2009-01-23 03:46:44 +0000 |
commit | 4dd47928b798c4b73aed6bc14900d23316590adb (patch) | |
tree | 07a7396dce24ee14be271c326eb838f52b3b4317 /bin | |
parent | 8d91de92ee2b827b454cff2f8cfeeaee017d2608 (diff) | |
download | src-4dd47928b798c4b73aed6bc14900d23316590adb.tar.gz src-4dd47928b798c4b73aed6bc14900d23316590adb.zip |
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 >
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=187609
Diffstat (limited to 'bin')
-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 31a5d3e84b79..579035c5f7d9 100644 --- a/bin/dd/dd.1 +++ b/bin/dd/dd.1 @@ -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 , |