Use lofiadm to attach a block device:
# lofiadm -a /path/to/image/dvdImage.iso
/dev/lofi/1
lofiadm picks the device and prints the device name to the standard output. You can run lofiadm again by issuing the following command:
# lofiadm
Block Device File
/dev/lofi/1 /path/to/image/dvdImage.iso
Or, you can give it one name and ask for the other, by issuing the following command:
# lofiadm /dev/lofi/1
/path/to/image/dvdImage.iso
Use the mount command to mount the image:
# mount -F hsfs -o ro /dev/lofi/1 /mnt
Check to ensure that Solaris understands the image:
# df -k /mnt
Filesystem kbytes used avail capacity Mounted on
/dev/lofi/1 512418 512418 0 100% /mnt
# ls /mnt
./
../
<other files in the mounted image>
Solaris can mount the CD-ROM image, and understand the filenames. The image was created properly, and you can now use the DVD with confidence.
At this point you must follow the instructions in the eHealth Installation Guide to copy the contents of the eHealth and Oracle Software DVDs to a disk. The eHealth installer will not recognize the mounted images as true DVDs.
As a final step, unmount and detach the images:
# umount /mnt
# lofiadm -d /dev/lofi/1
# lofiadm
Block Device File
Use lofiadm to add a file as a loopback device, remove such an association, or print information about the current associations.
The lofi driver is not available and will not work inside a zone.