DEV.MD / Developer Network
Search:     Advanced search
Browse by category:
Glossary | Contact Us

Mount ISO image in Solaris 10

Add comment
Views: 1327
Votes: 0
Comments: 0
Posted: 13 May, 2008
by: Zavadschi S.
Updated: 13 May, 2008
by: Zavadschi S.
Given an ISO image in /export/temp/software.iso, a loopback file device (/dev/lofi/1) is created with the following command:

lofiadm -a /export/temp/software.iso /dev/lofi/1


The lofi device creates a block device version of a file. This block device can be mounted to /mnt with the following command:

mount -F hsfs -o ro /dev/lofi/1 /mnt


These commands can be combined into a single command:

mount -F hsfs -o ro `lofiadm -a /export/temp/software.iso` /mnt
Also read
document Mount ISO image in FreeBSD
document Mount ISO image in Linux

Others in this Category
document Managing Zones on Solaris 10
document Setup a Daily Build Environment on Solaris
document Enabling and configuring SAMBA as shipped with Solaris 10
document Solaris 10 - Setting up the hostname after install
document Solaris 10 - Resource Management
document How to change a MAC address in Solaris



RSS