Re: Copying a CD

2002-12-22 Thread Mike Jeays
David S. Jackson wrote:


On Sat, Dec 21, 2002 at 09:44:58PM -0500 Mike Jeays <[EMAIL PROTECTED]> wrote:
 

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#
   


What kind of data is on the CD?  Whether or not you can/should use dd
depends on what you're trying to do and with what kind of CD.  Make sure
you read chapter 12.5 of the FreeBSD handbook.  

 

It is a data CD. "bs=2048" was what I needed.  My thanks to all who made 
suggestions.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Copying a CD

2002-12-22 Thread David S. Jackson
On Sat, Dec 21, 2002 at 09:44:58PM -0500 Mike Jeays <[EMAIL PROTECTED]> wrote:
> 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#

What kind of data is on the CD?  Whether or not you can/should use dd
depends on what you're trying to do and with what kind of CD.  Make sure
you read chapter 12.5 of the FreeBSD handbook.  

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
And now for something completely different.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Copying a CD

2002-12-21 Thread John Bleichert
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Copying a CD

2002-12-21 Thread Mike Jeays
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#






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message