View Single Post
  #2   (View Single Post)  
Old 30th December 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Quote:
Originally Posted by killasmurf86 View Post
to get cd/dvd image (to get iso from disk)
Code:
$ dd if=/dev/acd0 of=/path/to/disk.iso bs=1M
Block size for CD/DVD is 2K, so to get the best speed/reliability, you should use bs=2048

Quote:
To make it all happen you need:

in kernel
Code:
options 	CD9660			# ISO 9660 Filesystem, because you want to read them ;)
device		atapicd		# ATAPI CDROM drives
device		atapicam
device		cd				# nessacery for dvd's
device 		pass
device 		scbus
options		MD_ROOT
device		md
and permission to write to /dev/acd0 /dev/cd0 /dev/pass1
One should also have options UDF in order to read DVDs with files larger than 2 GB on them, or to burn DVDs with files larger than 2 GB. I believe there are extensions to cd9660 to allow for files larger than 2 GB, it's more reliable to use UDF.

The pass device number will also depend on the order that SCSI devices are enumerated by the kernel. To determine exactly which one it is, one can use camcontrol devlist

Excellent post. There's some info in there that I hadn't known, as I've been using K3B for so many years now. Nice little cheat-sheet for when I want to burn something remotely. Thanks.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote