[ut2003io] Serious issues

Chunky Kibbles chunky at icculus.org
Thu Jan 2 16:43:25 EST 2003

On Thu, Jan 02, 2003 at 03:35:58PM -0600, David van Hoose wrote:
> Ryan C. Gordon wrote:
> >
> >>Then it should read /dev/cdrom not the fstab. A command line argument 
> >>to find the correct path to the CD should suffice. If all else fails, 
> >>a 'grep -i "iso9660" /etc/fstab' should return a line with the mount 
> >>directory.
> >
> >
> >/dev/cdrom is not the CD device on every Linux box. Nor does every 
> >distro mount the disc as "iso9660".
> You're right to a degree. All Linux setups I've seen have a /dev/cdrom. 
> If it isn't a device, it is a symlink to a device. My case, /dev/hdc. 
> And unless someone changes their fstab's cdrom entry from iso9660 to 
> auto, there shouldn't be a problem. The following would most likely work.
> mkdir /ut2k3-cd
> mount -r -t iso9660 /dev/cdrom /ut2k3-cd
> if [ $? == 0 ]; then
> # It is mounted and we can confirm whether this device has the CD
> # If not, grep the fstab for iso9660 entries and check them.
> # Read the CDs.
> # Umount the CD when done.
> umount /ut2k3-cd
> else
> # Mount failed.
> fi
> rmdir /ut2k3-cd
> If anyone from icculus is reading this, use that if you want. No more 
> violating floppy drives and zip/jazz/tape drives please.

I install ut2k3 as a user [and all of my games, in general], which
means the above will die. It's like saying
export SETUP_CDROM=/ut2k3-cd
But in a harder fashion. Of course, if you know how to make ISOs
[describing would, I'm sure, be a "circumvention device" or similar],
you can do something akin to:

# for f in 1 2 3
# do
#   mkdir -p /mnt/ut2k3/$f
#   mount -t iso9660 -o loop ut2k3-disc$f.iso9660 /mnt/ut2k3/$f
#   export SETUP_CDROM_ID$f=/mnt/ut2k3/$f
# done
$ sh /mnt/ut2k3/3/linux_install.sh

At which point, all should be fine [assuming I've remembered the CD
IDs right]. Which of course doesn't work for a mortal, but so be it.

Hope this helps,
Gary (-;

More information about the ut2003 mailing list