iso9660 cdrom bug

Mark Lord (mlord@pobox.com)
Tue, 04 May 1999 07:54:12 -0400


Somewhere, there is a bug..

I have just mastered a CD-R with a "live" filesystem image
of FreeBS-2.1.0 (don't ask). This was done with cdrecord-1.8a21
and mkisofs-1.12b4, grafted into xcdroast-0.96e.

The iso9660 fs was constructed from a disk tree, using:

mkisofs -a -b floppies/atapi144.flp -c boot.ctg \
-J -L -o /image1.raw -R -T -v freebsd210

The resulting image was then copied to a linux hard drive,
mounted, and examined for errors. *No problems found*.

cp /image1.raw /dev/hdc
mount /dev/hdc /mnt -t iso9660 -o ro
cd /mnt/live/usr/X11R6/man/man3
ls -l | grep -i timeout | awk '{print $1" "$9" "$10" "$11}'
...
-r--r--r-- XtAppAddTimeOut.3.gz
lrwxrwxrwx XtAppAddTimeout.3.gz -> XtAppAddTimeOut.3.gz
...
Note (1) the correct symlink, and the similar but not identical
spellings of TimeOut and Timeout.

So, I then burned it to a CD-R, verified no errors during recording,
and mounted the resulting CD:

mount /dev/cdrw /cdrom

And linux is somehow confused about a set of symlinks
and similar filenames way down in /cdrom/live/usr/X11R6/man/man3.

Here is what it reports, using either ide-cd or ide-scsi drivers:
...
lrwxrwxrwx XtAppAddTimeOut.3.gz -> XtAppAddTimeOut.3.gz
lrwxrwxrwx XtAppAddTimeout.3.gz -> XtAppAddTimeOut.3.gz
...
Note the circularly-referenced symlink. HOUSTON, WE HAVE A PROBLEM.

Under Win98, the file XtAppAddTimeOut.3.gz is indeed present.

Also, in TRANS.TBL we see:

L XTAPPADD.004;1 XtAppAddTimeout.3.gz XtAppAddTimeOut.3.gz
F XTAPPADD.005;1 XtAppAddTimeOut.3.gz

Somewhere, there is a bug..

-- 
mlord@pobox.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/