From owner-freebsd-questions Sat Dec 21 19:48:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5BB937B401 for ; Sat, 21 Dec 2002 19:48:25 -0800 (PST) Received: from janeway.vonbek.dhs.org (bgm-24-94-58-56.stny.rr.com [24.94.58.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98B3D43ED8 for ; Sat, 21 Dec 2002 19:48:24 -0800 (PST) (envelope-from syborg@stny.rr.com) Received: by janeway.vonbek.dhs.org (Postfix, from userid 507) id E20484FC8A; Sat, 21 Dec 2002 22:32:53 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by janeway.vonbek.dhs.org (Postfix) with ESMTP id DAA7F4A0E; Sat, 21 Dec 2002 22:32:53 -0500 (EST) Date: Sat, 21 Dec 2002 22:32:53 -0500 (EST) From: John Bleichert X-X-Sender: syborg@janeway.vonbek.dhs.org Reply-To: John Bleichert To: Mike Jeays Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Copying a CD In-Reply-To: <3E05272A.50201@rogers.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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