Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to unpack .iso files on solaris?

Status
Not open for further replies.

joaotelles

Programmer
Oct 17, 2008
26
BR
Hi to all,

Its, I believe simple, and direct question...what command do I use to umcompress an iso file on solaris....

Tks,

Joao Telles
 
You don't "unpack" an ISO file. You just mount it as a filesystem... if I recall correctly:

Code:
mkdir /mnt/cdrom
mount -F hsfs -o ro /path/to/file.iso /mnt/cdrom

If that doesn't work try -F iso9660... not sure that's available on Solaris though.

Then you can just copy the files off it if you want them to be stored outside the ISO image.

Annihilannic.
 
A friend of mine gave me this command I will test it...
(you must be root to perform this)


root@inspiration> lofiadm -a {complete path to the iso} /dev/lofi/1
root@inspiration> lofiadm
Block Device File
/dev/lofi/1 {path to the iso}

root@inspiration> mount -f hsfs /dev/lofi/1 /mnt/
root@inspiration> cd /mnt

Anyway tks a lot for the reply...:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top