public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: chuck gelm <chuck@gelm.net>
To: Todd Patton <Todd@acpdata.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: Burn Mulitple cd's at once?
Date: Mon, 30 Jan 2006 08:58:41 -0500	[thread overview]
Message-ID: <43DE1B91.1040109@gelm.net> (raw)
In-Reply-To: <dr8g79$4fb$1@sea.gmane.org>

Todd Patton wrote:

> Does anyone know if this is possible in Linux. I can do it in M$ Win 
> with Nero but the NEroLinux left this feature off. Basically I want to 
> burn 4 copies of a folder or image at the same time. Thank you for any 
> responses.

Hi, Todd:

Assuming that your 4 cd burners are configured as SCSI or SCSI emulation
and are channel 0, id 0, lun 0,1,2,3:

#!/bin/bash
#
# /usr/local/bin/burncd.sh
#

eject
cat /usr/local/bin/burncd.sh

echo ""
echo " First argument is <$1>."
echo "Second argument is <$2>."
echo ""

if [ -n $1 ] ; then
 if [ -n $2 ] ; then
  cdrecord -v dev=0,0,0 fs=64M speed=$2 driveropts=burnproof gracetime=2 
$1 &
  cdrecord -v dev=0,0,1 fs=64M speed=$2 driveropts=burnproof gracetime=2 
$1 &
  cdrecord -v dev=0,0,2 fs=64M speed=$2 driveropts=burnproof gracetime=2 
$1 & 
  cdrecord -v dev=0,0,3 fs=64M speed=$2 driveropts=burnproof gracetime=2 $1
 else
  echo "Second argument is burn speed [1 - 52] and must not be null."
 fi
else
 echo ""
 echo "First argument is filename.ext and must not be null."
 echo ""
fi
eject
mount /mnt/cdrom
ls -l /mnt/cdrom
umount /mnt/cdrom
echo $1
badblocks -vc 256 /dev/cdrom
eject

HTH, Chuck

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2006-01-30 13:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-25 18:32 Burn Mulitple cd's at once? Todd Patton
2006-01-25 21:02 ` Ray Olszewski
2006-01-25 21:12   ` Todd Patton
2006-01-30 13:58 ` chuck gelm [this message]
2006-01-30 15:24   ` Overwrote bootloader sumit kalra
2006-01-30 15:36     ` Paul M.
2006-01-31  2:49   ` Burn Mulitple cd's at once? chuck gelm
2006-02-01 13:20 ` chuck gelm
     [not found] <nmgab28h54exczm.010220060911@cognac>
2006-02-01 16:31 ` chuck gelm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43DE1B91.1040109@gelm.net \
    --to=chuck@gelm.net \
    --cc=Todd@acpdata.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox