Being member of the operator group this is not really needed in my case, but that may not always be that way:

Code:

$ groupinfo operator
name operator
passwd *
gid 5
members root j65nko

Requirement for access to the CDDB server(s) is that the firewall should allow outgoing TCP connections to port 888.

Code:

$ grep cddb /etc/services
cddb 888/tcp cddbp # Audio CD Database

A pf firewall rule to pass this kind of traffic:

Code:

pass out quick on egress inet proto tcp from egress to any port cddb

The original Uncle Meat album was a vinyl double LP( 4 sides). The CD version also has 2 CD's but the second CD contains what most Zappa fans consider to be three "penalty tracks".
I want to combine the tracks of CD 1 and CD 2 on a single CD, excluding those three tracks.

The cdio(1) command to rip the CD is cdrip described in the man page as:

Code:

cdrip [track1-trackN ...]
Rip specified tracks from disk. Audio tracks are saved as WAVE
sound files. All tracks will be saved in the current working
directory. If parameters are omitted, all tracks are ripped.
Both individual tracks and track ranges may be specified, in the
same format as the cdplay command.
cdplay [track1-trackN ...]
Play specified tracks from disk. Unlike play, the CD player need
not be connected to an audio device; instead it rips tracks from
disk and outputs audio data to the default audio(4) device or
aucat(1) socket. Both individual tracks and track ranges may be
specified. If range is specified in descending order tracks will
be played in descending order. If the first value in the range
is omitted, tracks from first track on disk to the specified one
will be played. If the last value in the range is omitted,
tracks from the specified track to the last track on disk will be
played.[/b]

Now we have to solve the following: We have 'track04.wav' up to "track09.wav" files
in both CD_1 and CD_2 directories. I have no idea if that could pose a problem in the track sequence if we
would write them.
We could of course test this with a CD-RW, but by using hard links we can easily solve this issue.

Having all our tracks hard linked in a single directory, we now can write the tracks to the CD:
The appropiate command according to the man page is:

Code:

tao [-ad] [-s speed] trackfile ...
[command line only] Write a track-at-once CD containing the
specified trackfile.
The options are as follows:
-a Write files as audio tracks. File formats of audio
tracks may be CDDA or WAVE with 2 channels of PCM audio,
signed 16-bit (little endian) values sampled at 44100 Hz.
-d Write files as data tracks (the default).
-s speed
Specify a write speed for tracks. speed may be a
numerical value between 1 and the maximum speed supported
by the media and drive, or one of the literal strings
``auto'' or ``max'', meaning the optimal or maximum speed
detected.

So somebody else has submitted this CD 1 & 2 combination to the CD DB server(s).

Actually I was a little bit concerned whether this all could fit on a 700 MB CD. The total time is 76:26 minutes.That is below the 80 minutes playing capability of the CD-R, but the nr of MB exceeds it's 700 MB specification: