Here is a script for reference to mount an ISO image on Solaris 10. This came from a google search so I can’t take credit for it. It’s here so I can get to it quick.
#!/bin/sh # # Mount an ISO image using a loopback filesystem. # if [ -z "$1" -o -z "$2" ]; then echo "$0 <full_path_to_iso> <mount_point>" exit 0 fi # Add the loopback block device. # This will return the device path under /dev/lofi/. printf "Creating loopback device to $1 ... " LOFS_DEVICE=`lofiadm -a "$1"` if [ 0 -ne $? ]; then exit 1 else echo "${LOFS_DEVICE}" fi # Now, mount the device to the mount point specified. printf "Mounting $2 on ${LOFS_DEVICE} ... " mount -F hsfs -o ro "${LOFS_DEVICE}" "$2" if [ 0 -ne $? ]; then lofiadm -d ${LOFS_DEVICE} exit 1 else echo "mounted" fi |