All of lore.kernel.org
 help / color / mirror / Atom feed
From: chuck gelm <chuck@gelm.net>
To: Ray Olszewski <ray@comarre.com>
Cc: linux <linux-newbie@vger.kernel.org>
Subject: Re: CD-RW-Drive & cdrecord & ATAPI
Date: Wed, 29 Dec 2004 14:17:58 -0500	[thread overview]
Message-ID: <41D302E6.2080903@gelm.net> (raw)
In-Reply-To: <5.1.0.14.1.20041229074910.0217b010@celine>

Ray Olszewski wrote:
<snip>
> Others have said a lot here already, but I want to raise more 
> fundamental puzzlement. I didn't know cdrecord (see below) was even able 
> to burn to atapi devices under 2.4.x kernels. You might want to report 
> the error messages in more detail.
<snip>

Hi, Ray:

  I am using Slackware v9.1, kernel 2.4.22, and a
"CRW-5224A, ATAPI CD/DVD-ROM drive"

   'cdrecord' can 'burn' to ATAPI devices with SCSI emulation.

If append="hdc=ide-scsi" is parsed in lilo.conf during boot
( and you are using lilo as the boot loader
   and /dev/hdc is your CDROM-RW device ;-)
then applications that default to using SCSI devices will use
the ATAPI device.  Here is a script that I use to burn data to
my ATAPI CDROM-RW device:

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

cat /usr/local/bin/burncd.sh

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

eject -t ; close the CDROM tray

if [ -n $1 ] ; then
  if [ -n $2 ] ; then
   cdrecord -v dev=0,0,0 fs=64M speed=$2 driveropts=burnproof $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
mount /mnt/cdrom && ls -l /mnt/cdrom && umount /mnt/cdrom
echo $1
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:[~2004-12-29 19:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-29  7:06 CD-RW-Drive Peter H.
2004-12-29  7:26 ` CD-RW-Drive Richard Adams
2004-12-29  7:45   ` CD-RW-Drive Peter Garrett
2004-12-29  7:29 ` CD-RW-Drive Peter Garrett
2004-12-29 10:26 ` CD-RW-Drive Jim Nelson
2004-12-29 12:04 ` CD-RW-Drive chuck gelm
2004-12-29 16:15 ` CD-RW-Drive Ray Olszewski
2004-12-29 16:31   ` Backup up Linux fileserver via Maxtor External Hard Drive Eve Atley
2004-12-29 17:35     ` Ray Olszewski
2004-12-29 21:26     ` chuck gelm
2004-12-29 22:13       ` Jeremy Abbott
2004-12-29 19:17   ` chuck gelm [this message]
2004-12-29 19:43     ` CD-RW-Drive & cdrecord & ATAPI Ray Olszewski

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=41D302E6.2080903@gelm.net \
    --to=chuck@gelm.net \
    --cc=linux-newbie@vger.kernel.org \
    --cc=ray@comarre.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.