From owner-freebsd-hackers Tue Jul 9 5: 7: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0F1C37B41F for ; Tue, 9 Jul 2002 05:06:51 -0700 (PDT) Received: from sabre.velocet.net (sabre.velocet.net [216.138.209.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D7F843E3B for ; Tue, 9 Jul 2002 05:06:50 -0700 (PDT) (envelope-from dgilbert@velocet.ca) Received: from canoe.velocet.net (canoe210.velocet.net [216.138.240.43]) by sabre.velocet.net (Postfix) with ESMTP id 72E7513811D; Tue, 9 Jul 2002 08:06:37 -0400 (EDT) Received: by canoe.velocet.net (Postfix, from userid 101) id 08EF656796B; Tue, 9 Jul 2002 07:07:55 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15658.50186.945164.162061@canoe.velocet.net> Date: Tue, 9 Jul 2002 07:07:54 -0400 To: Keith Pitcher Cc: freebsd-hackers@freebsd.org Subject: [hackers] Multi CDR burn In-Reply-To: <20020708220105.GA32341@stone.locallink.net> References: <20020708220105.GA32341@stone.locallink.net> X-Mailer: VM 7.04 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "Keith" == Keith Pitcher 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