From owner-freebsd-bugs Wed Sep 6 18:19: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from darius.concentric.net (darius.concentric.net [207.155.198.79]) by hub.freebsd.org (Postfix) with ESMTP id CE41A37B422 for ; Wed, 6 Sep 2000 18:19:04 -0700 (PDT) Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net (8.9.1a/(98/12/15 5.12)) id VAA27314; Wed, 6 Sep 2000 21:19:03 -0400 (EDT) [1-800-745-2747 The Concentric Network] Received: from UrsaMajor.Ursa.com (ts020d02.atl-ga.concentric.net [206.173.85.206]) by newman.concentric.net (8.9.1a) id VAA27519; Wed, 6 Sep 2000 21:19:01 -0400 (EDT) Message-ID: <39B6ED8D.41C67EA6@cris.com> Date: Wed, 06 Sep 2000 21:21:17 -0400 From: amg X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 2.2.8-RELEASE i386) MIME-Version: 1.0 To: Bugs@FreeBSD.org Subject: cdrecord is now broke Content-Type: multipart/mixed; boundary="------------446B9B3D2781E494167EB0E7" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------446B9B3D2781E494167EB0E7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Gentlemen: Don't shoot the messenger .... With the change, in 4.1, to all character special files, the utility/package cdrecord is now broke. Attacted is the output of a script, and the script itself, that I used extensively with 2.2.8. I have the bad feeling that cdrecord is not the only utility that is now broken. Attacted: cdClone - the script that I mentioned above cdClone.out - the script's output under 4.1 august ursa@cris.com --------------446B9B3D2781E494167EB0E7 Content-Type: text/plain; charset=iso-8859-1; name="cdClone.out" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="cdClone.out" cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler cdrecord: Permission denied. WARNING: Cannot set priority using setpriority(). cdrecord: WARNING: This causes a high risk for buffer underruns. cdrecord: Invalid argument. Open by 'devname' not supported on this OS. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. Cdrecord 1.8.1 (i386-unknown-freebsd4.1) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '/dev/rcd0.ctl:0,4,0' devname: '/dev/rcd0.ctl' scsibus: 0 target: 4 lun: 0 --------------446B9B3D2781E494167EB0E7 Content-Type: text/plain; charset=us-ascii; name="cdClone" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cdClone" #!/bin/sh # # cdClone - clones a CD # # Notes - based on the FreeBSD scripts, makecdfs.sh and burncd.sh, # which are located in /usr/share/examples/worm # ThisProg=${0##*/} # # check for proper invocation # if [ $# -lt 2 ] then echo "" echo " Usage: $ThisProg InputCDToClone OutputCDImageFile " echo " Too few arguments." echo "" echo " Exmpl: $ThisProg /dev/cd0a myCDClone" echo "" echo " Notes: InputCDToClone MUST be the CD device;" echo " for 4.1 and later, the invocation in <...> MUST be used." echo " $ThisProg MUST be run as root." echo " The optional \"Dummy\" parameter will turn off the laser" echo " during the call to the cdrecord utility." echo "" exit fi # if [ $# -gt 3 ] then echo "" echo " Usage: $ThisProg InputCDToClone OutputCDImageFile " echo " Too many arguments." echo "" echo " Exmpl: $ThisProg /dev/cd0a myCDClone" echo "" echo " Notes: InputCdToClone MUST be the CD device;" echo " for 4.1 and later, the invocation in <...> MUST be used." echo " $ThisProg MUST be run as root." echo " The optional \"Dummy\" parameter will turn off the laser" echo " during the call to the cdrecord utility." echo "" exit fi # # variable assignments # InputCDToClone=$1 OutputCDImageFile=$2 if [ $# -eq 3 ] then Dummy=-dummy else Dummy="" fi # # dd an image from the CD device # echo "" echo " dd is now starting ..." echo "" dd if=$InputCDToClone bs=32k of=$OutputCDImageFile echo "" echo " dd just finished." echo "" # # swap CD's # echo " Do NOT touch any key! REMOVE the CD to clone and insert a blank CD." echo " Then, hit Enter ..." read keyStroke echo "" echo " cdrecord will now start ..." echo "" # # burn the CD-R # cdrecord $Dummy -v speed=4 dev=/dev/rcd0.ctl:0,4,0 -data $OutputCDImageFile # ^ ^ ^ ^ # | verbose | | | Logical U. N. # | | Physical U. N. # | SCSIBUS # echo "" echo " cdrecord just finished." echo "" echo "" # # end cdClone # --------------446B9B3D2781E494167EB0E7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message