#!/bin/csh
rm -rf   ~/tmp/mkisofs
mkdir -p ~/tmp/mkisofs
cd       ~/tmp/mkisofs
mkdir a b
date -u +%Y-%m-%dT%H:%M:%SZ > a/XX.yy
date -u +%Y-%m-%dT%H:%M:%SZ > b/XX.yy
echo "------"
echo "Doing:	mkisofs -quiet    -o junk.iso a b"
		mkisofs -quiet    -o junk.iso a b
ls -l junk.iso
rm -f junk.iso
echo "------"
echo "Doing:	mkisofs -quiet -r -o junk.iso a b"
		mkisofs -quiet -r -o junk.iso a b
ls -l junk.iso
rm -f junk.iso
echo "------"
echo "Doing:	mkisofs -quiet -R -o junk.iso a b"
		mkisofs -quiet -R -o junk.iso a b
ls -l junk.iso
rm -f junk.iso
echo "------"
rm -rf   ~/tmp/mkisofs
exit

sent to
Hi schilling_ERASE@fokus.gmd.de
cc: js_ERASE@cs.tu-berlin.de, joerg_ERASE@schily.isdn.cs.tu-berlin.de
(please excuse dups, but I mailed you once before about something else
months ago, & it bounced
so to avoid figuring if its bouncing your end or my end ... :-)

Does the script below illustrate a bug ?
or is it just me not undestanding how to drive mkisofs ?

PS on both:
	mkisofs 1.13 (i386-unknown-freebsd4.1.1)
	mkisofs 1.13 (i386-unknown-freebsd4.3)

++++++++
   #!/bin/csh
   rm -rf   ~/tmp/mkisofs
   mkdir -p ~/tmp/mkisofs
   cd       ~/tmp/mkisofs
   mkdir a b
   date -u +%Y-%m-%dT%H:%M:%SZ > a/XX.yy
   date -u +%Y-%m-%dT%H:%M:%SZ > b/XX.yy
   echo "------"
   echo "Doing:	mkisofs -quiet    -o junk.iso a b"
   		mkisofs -quiet    -o junk.iso a b
   ls -l junk.iso
   rm -f junk.iso
   echo "------"
   echo "Doing:	mkisofs -quiet -r -o junk.iso a b"
   		mkisofs -quiet -r -o junk.iso a b
   ls -l junk.iso
   rm -f junk.iso
   echo "------"
   echo "Doing:	mkisofs -quiet -R -o junk.iso a b"
   		mkisofs -quiet -R -o junk.iso a b
   ls -l junk.iso
   rm -f junk.iso
   echo "------"
   rm -rf   ~/tmp/mkisofs
++++++++
output:
   ~/mkisofs_bug.csh
   ------
   Doing:  mkisofs -quiet    -o junk.iso a b
   -rw-r--r--  1 jhs  wheel  53248 Jun  9 11:53 junk.iso
   ------
   Doing:  mkisofs -quiet -r -o junk.iso a b
   mkisofs: Error: b/XX.yy and a/XX.yy have the same Rock Ridge name
   mkisofs: Unable to sort directory 
   ls: junk.iso: No such file or directory
   ------
   Doing:  mkisofs -quiet -R -o junk.iso a b
   mkisofs: Error: b/XX.yy and a/XX.yy have the same Rock Ridge name
   mkisofs: Unable to sort directory 
   ls: junk.iso: No such file or directory
   ------
   jhs@flip 4.1.1-RELEASE csh ttypa 6 % cd
   jhs@flip 4.1.1-RELEASE csh ttypa 7 % ~/mkisofs_bug.csh
   ------
   Doing:  mkisofs -quiet    -o junk.iso a b
   -rw-r--r--  1 jhs  wheel  53248 Jun 10 00:20 junk.iso
   ------
   Doing:  mkisofs -quiet -r -o junk.iso a b
   mkisofs: Error: b/XX.yy and a/XX.yy have the same Rock Ridge name
   mkisofs: Unable to sort directory 
   ls: junk.iso: No such file or directory
   ------
   Doing:  mkisofs -quiet -R -o junk.iso a b
   mkisofs: Error: b/XX.yy and a/XX.yy have the same Rock Ridge name
   mkisofs: Unable to sort directory 
   ls: junk.iso: No such file or directory
   ------
+++++++++

Julian
J.Stacey  Munich Unix (FreeBSD, Linux etc) Consultant  http://www.berklix.com/~jhs/
 Ihr Rauchen => mein allergischer Kopfschmerz !  Kau/Schnupftabak probieren !
