From owner-freebsd-questions@FreeBSD.ORG Fri Nov 23 23:22:59 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D53E16A511 for ; Fri, 23 Nov 2007 23:22:59 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 3DA3113C459 for ; Fri, 23 Nov 2007 23:22:58 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id lANNMsC9033977; Sat, 24 Nov 2007 00:22:55 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id A331FB8F8; Sat, 24 Nov 2007 00:22:54 +0100 (CET) Date: Sat, 24 Nov 2007 00:22:54 +0100 From: Roland Smith To: Gary Kline Message-ID: <20071123232254.GA16611@slackbox.xs4all.nl> Mail-Followup-To: Gary Kline , Ian Smith , freebsd-questions@freebsd.org References: <20071122120047.2815B16A421@hub.freebsd.org> <20071122234952.GA65071@thought.org> <20071123075012.GA91358@slackbox.xs4all.nl> <20071123211736.GA98190@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <20071123211736.GA98190@thought.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Ian Smith , freebsd-questions@freebsd.org Subject: Re: is this IT or not/ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 23:22:59 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 23, 2007 at 01:17:36PM -0800, Gary Kline wrote: > > My usual invocation for cdrecord for data disks is: > > cdrecord -v -eject -dao speed=3D8 driveropts=3Dburnfree dev=3D1,1,0 -= pad \ > > -data file.iso > >=20 > > You'll have to adjust the dev part by looking at the output of=20 > > 'cdrecord -scanbus'. Cdrecord requires atapicam or a SCSI burner, btw. >=20 >=20 > (And to think that for years I was SCSI-*only*. Darn!) > What is "aptapicam" exactly? If I add it to my kernel GENERIC > will other things blow up, [:-)]? =20 It is a driver that allows ATAPI devices like CD-RW and DVD drives to be accessed through the SCSI subsystem. My kernel is configured as follows; device atapicam # Emulate ATAPI devices as SCSI via CAM # No atapicd driver! # SCSI peripherals device scbus # SCSI bus (required for SCSI) device cd # Compact Disc device da # Direct Access (disks) [for umass devices] device pass # Passthrough device (direct SCSI access) This will give you cdX devices, instead of acdX. Next you'll have to configure devfs to grant access to the relevant devices; /etc/devfs.conf: # Give members of group cdrom access to the CD/DVD-ROM and DVD+RW via the # SCSI interface own xpt0 root:cdrom perm xpt0 0660 own cd0 root:cdrom perm cd0 0660 own cd1 root:cdrom perm cd1 0660 # cdparanoia uses the cdrom link. link cd0 cdrom=20 link cd0 dvd /etc/devfs.rules: [slackbox_usb=3D10] add path 'da*' mode 0660 group usb add path 'pass*' mode 0660 group cdrom /etc/rc.conf: # Set the default devfs ruleset. devfs_system_ruleset=3D"slackbox_usb" My freebsd webpage covers this in some more detail:=20 http://www.xs4all.nl/~rsmith/freebsd/index.html > The handbook has examples of how-to copy audio CD's doing the > reads with dd. I posted something yesteerday to see if that > part could be done with a script. =20 Don't use dd for copying audio discs, because it doesn't do any error correction whatsoever. Use cdparanoia instead; 'cdparanoia -B "1-"' to rip the whole disk. Then burn the resulting wav files with cdrecord. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHR2DOEnfvsMMhpyURAs9yAJ45ZbKSa5hJmtO0p8EF0AVumDDsggCfWqf5 IfoUI31BF8h00B/U1yeLhxQ= =yEW+ -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv--