Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2002 22:32:53 -0500 (EST)
From:      John Bleichert <syborg@stny.rr.com>
To:        Mike Jeays <mj001@rogers.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Copying a CD
Message-ID:  <Pine.LNX.4.44.0212212228480.15050-100000@janeway.vonbek.dhs.org>
In-Reply-To: <3E05272A.50201@rogers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Dec 2002, Mike Jeays wrote:
> Subject: Copying a CD
> 
> How can I use dd to copy a  CD?   The command below does not
> work - I presume I have failed to understand something.  I have tried other
> devices begining "acd".
> 
> 209 ~# dd if=/dev/acd0c of=x1
> dd: /dev/acd0c: Invalid argument
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 0.000219 secs (0 bytes/sec)
> 210 ~#
> 211 /dev# ls -l acd*
> crw-r-----  4 root     operator  0,13568 Dec 21 2002 19:33 acd0a
> crw-r-----  4 root     operator  0,13568 Dec 21 2002 19:33 acd0c
> 212 /dev# ls -l racd*
> crw-r-----  4 root     operator  0,13568 Dec 21 2002 19:33 racd0a
> crw-r-----  4 root     operator  0,13568 Dec 21 2002 19:33 racd0c
> 213 /dev#
> 

On my hardware (ASUS board / Plextor CDRW) I need to specify the block 
size with the 'bs' switch as in 

$  dd bs=2048 if=/dev/acd0c of=x1

or I get the same results you do above. I'm not sure what happens if you 
use different block sizes, but the above allows me to e.g. make copies of 
Linux and BSD ISOs.

HTH - JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0212212228480.15050-100000>