Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2007 00:22:54 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Gary Kline <kline@tao.thought.org>
Cc:        Ian Smith <smithi@nimnet.asn.au>, freebsd-questions@freebsd.org
Subject:   Re: is this IT  or not/
Message-ID:  <20071123232254.GA16611@slackbox.xs4all.nl>
In-Reply-To: <20071123211736.GA98190@thought.org>
References:  <20071122120047.2815B16A421@hub.freebsd.org> <Pine.BSF.3.96.1071122234219.29575A-100000@gaia.nimnet.asn.au> <20071122234952.GA65071@thought.org> <20071123075012.GA91358@slackbox.xs4all.nl> <20071123211736.GA98190@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071123232254.GA16611>