Mount an ISO image on a Solaris/AIX filesystem
Solaris
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
Unmount and close loopback filesystem
umount /mnt
lofiadm -d /dev/lofi/1
AIX 5.3
mklv -y cdlv -s n -L /dev/cdlv vg00 $(du -m 10gR2.iso|awk '{print
int($1+128)"M"}') hdisk2 ## 128M pp say
dd if=10gR2.iso of=/dev/cdlv # took hours
mount -v cdrfs -o ro /dev/cdlv /mnt/iso
Wednesday, July 09, 2008
Subscribe to:
Post Comments (Atom)
Solstice DiskSuite Command Summary
Having a sort out and found this course handout originally written by John Furlong - Sun Trainer in 23/10/2002 (Free to distribute). Remind...
-
Been playing with ZFS dedupe for the last two weeks and just wanted to share my findings. Setup OpenSolaris build 131 Sun X4200, 2 x Du...
-
When you install Solaris 11.3 or 11.4 from standard text installer cdrom, the en_GB-UTF-8 locales are not installed, even if you select Bri...
-
T3 Setup for Vmware Config - through SAN switch 5200, zones with multiple targets but single initiators. set ip 192.168.10.198 set gate...
No comments:
Post a Comment