Josh,

If this will be of any help, here are the lines I use to drive cdrecord and mkisofs with my external Firewire Yamaha burner:

to burn iso image:
cdrecord -v -speed 16 -eject dev=IOCompactDiscServices iso_file.iso

to overburn iso image (i.e. >700M):
cdrecord -v -overburn -dao -speed 16 -eject dev=IOCompactDiscServices iso_file.iso

to prepare Joliet compliant iso image from a directory:
mkisofs -J -R -V "name of the CD" -o output_file.iso somedirectory/

You can even build a pipe to pass an iso directly to cdrecord like this:
[michaelg@beastier ~/Desktop] ->mkisofs -R -J -V "Test CD" -print-size CarbonSoundUpdate.pkg/
Total extents scheduled to be written = 720
720
[michaelg@beastier ~/Desktop] ->mkisofs -R -J -V "Test CD" CarbonSoundUpdate.pkg/ | cdrecord -v -speed 16 -eject dev=IOCompactDiscServices -tsize=720s -
Cdrecord 1.11a40 (powerpc-apple-macosx6.2) Copyright (C) 1995-2002 J�rg ng
TOC Type: 1 = CD-ROM
scsidev: 'IOCompactDiscServices'
devname: 'IOCompactDiscServices'
<snip>

Also I wrote a short and stupid shell script to make a bunch of iso's from a directory full of AVI's.
Feel free to use it if you find this useful and only if you understand what it exactly does:
(I'm no shell scripting GURU so some may find my scripting technique or the whole idea a bit amusing :-))

#!/bin/sh

#######################################################################
# Shellscript : crtisos.sh - Prepare a bunch of iso's from AVI's in #
# : given directory. #
# Author : Michael Green <[EMAIL PROTECTED]> #
# Date : 20 November 2002 #
# Requires : mkisofs, sed #
#######################################################################


if [ $# == 1 ]; then
SRC="$1"
DEST="$1"
else
if [ $# == 2 ]; then
SRC="$1"
DEST="$2"
else
echo "Usage: `basename $0` [source_dir] destination_dir"
echo " if no [source_dir] given, we assume source == destination."
exit 1
fi
fi

# Let's check destination exists...

if [ ! -d "$DEST" ]; then
echo "Oh shit, nowhere to put ready iso's...!!!" 1>&2
exit 1
fi


# Let's check source exists...

if [ ! -d "$SRC" ]; then
echo "No dice! The source \"$SRC\" doesn't exist!" 1>&2
exit 1
fi



# Ok, let's go where the source material ($SRC) is and feed it to mkisofs
# and put ready .iso's in the $DEST....

cd "$SRC"
ls -1 | while read i;
do
echo
echo "*^*^*^*^*^*^*^* preparing `echo $i | sed 's/\.[^\.]*$//'`.iso... *^*^*^*^*^*^*^*"
echo
mkisofs -J -R -V "`echo $i | sed 's/\.[^\.]*$//'`" -o "$DEST/$i.iso" "$i"
done

##########################################################

I'm no shell scripting GURU so some may find my scripting technique or the whole idea a bit amusing :-)






-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to