|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Tips and Tutorials Helpful articles from our Users. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Mounting an ISO image on Solaris
Many software packages can be downloaded in the form of an ISO image. ISO images can also be created from CD and saved as ISO images:
$ cat /dev/somecd > somename.iso Rather than burning the image to a CD-ROM to access its contents, it is easy to mount the image directly into the filesystem using the lofiadm and mount commands. 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 Other ISO images can be mounted by incrementing the lofi device: # lofiadm -a /export/temp/software2.iso /dev/lofi/2 # lofiadm -a /export/temp/software3.iso /dev/lofi/3 etc. Last edited by kduffin; 12-02-2003 at 07:00 AM.. |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mounting cd in solaris 5.8 | scriptingmani | Solaris | 4 | 09-25-2007 05:30 AM |
| Create an Ignite image on tape from Online IgniteUX image | Andrek | UNIX for Advanced & Expert Users | 3 | 02-28-2007 06:14 PM |
| best way to image solaris/linux drives | frankkahle | UNIX for Dummies Questions & Answers | 3 | 01-05-2007 11:15 AM |
| Problem mounting DVD on Solaris 10 (x86) | christian_hicks | Solaris | 3 | 12-24-2004 04:04 PM |
| Mounting CD-Rom with Solaris 8 | Fwurm | UNIX for Dummies Questions & Answers | 5 | 06-08-2001 08:44 PM |
|
|