Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 07:07:54 -0400
From:      David Gilbert <dgilbert@velocet.ca>
To:        Keith Pitcher <kpitcher@locallink.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   [hackers] Multi CDR burn
Message-ID:  <15658.50186.945164.162061@canoe.velocet.net>
In-Reply-To: <20020708220105.GA32341@stone.locallink.net>
References:  <20020708220105.GA32341@stone.locallink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Keith" == Keith Pitcher <kpitcher@locallink.net> writes:

Keith> I hate to bother the list, but after lots of searching I
Keith> haven't found this out - maybe I missed something obvious :

Keith> I have 8 scsi CDRs in a netserver 5 case, need to burn a number
Keith> of CDs.  I haven't seen anything in the ports that will do
Keith> multi CDRs.

Keith> So does anyone know of a program. On the other hand, if I just
Keith> mirror the CDRs would that do the trick?

-- cut here --
#!/bin/sh

CDROMS="0,1,0 0,2,0 0,3,0"

for i in $CDROMS
do
	cdrecord $CDRECORD_ARGS dev=$i "$@" &
done

wait
-- cut here --

Use cdrecord -probe-scsi (or whatever it is ... don't have the man
page with me) to determine what CDROMS are.  You may want to increase
buffering as one of your cdrecord options.  64 or 128 meg are not
excessive, I find... just make sure that your choice of buffers
doesn't start everything swapping.

Remember: unix is a system whereby you assemble piplelines and scripts
of _simple_ programs to create complex behavior.  It's not necessary
to have a multi-cd tool when you can roll your own with your own
behavior.

Dave.

-- 
============================================================================
|David Gilbert, Velocet Communications.       | Two things can only be     |
|Mail:       dgilbert@velocet.net             |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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