Problem
How can I mount an ISO image on my SCO Unix system?
Solution
You can use the marry(1M) utility to bind an ISO image to a block device that you can then mount on SCO Unix system.
Assuming that your iso image is called:
/usr/tmp/foobar.isoyou can bind the ISO image to a block device using:
# marry -a /usr/tmp/foobar.isoThis command will create the block device:
/dev/marry/usr/tmp/foobar.isoYou can then mount this device using the mount(1M) command as follows:
# mount /dev/marry/usr/tmp/foobar.iso /mntYou can list the current marry(1M) devices using:
# marry -lYou can remove the marriage between the ISO image and a block device using:
# marry -d /dev/marry/usr/tmp/foobar.isoRemember to unmount the marry device before you attempt to remove it.
NOTE: If you see the error:ERROR file system type cannot be determinedthen it's likely the image is corrupt.
NOTE: To create an ISO image from physical media use the following:1. How to create an iso from a CD:# dd if=/dev/<cd device> bs=2048 of=/tmp/cd.isoFor OSR5 <cd device> would be /dev/cd0For OSR6 <cd device> would be /dev/cdrom/cdrom0For UW7 <cd device> would be /dev/cdrom/cdrom12. How to create an iso from a Floppy:# dd if=/dev/fd0 of=/tmp/floppy.iso