How to mount an ISO image under HP-UX 11iv3
So what do I do if I want to mount an iso image under HP-UX.
Previously I had to create a logical volume, copy the content of the ISO on in and then mount the logical volume, like this one:
root@vmhost1:/# ll /tmp/test.iso -rw-r--r-- 1 root sys 105906176 Sep 8 11:57 /tmp/test.iso root@vmhost1:/# lvcreate -L 102 -n lvtest vg00 Warning: rounding up logical volume size to extent boundary at size "128" MB. Logical volume "/dev/vg00/lvtest" has been successfully created with character device "/dev/vg00/rlvtest". Logical volume "/dev/vg00/lvtest" has been successfully extended. Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf root@vmhost1:/# dd if=/tmp/test.iso of=/dev/vg00/rlvtest bs=1024k 101+0 records in 101+0 records out root@vmhost1:/# mount /dev/vg00/lvtest /mnt root@vmhost1:/# bdf /mnt /dev/vg00/lvtest 102888 102888 0 100% /mnt
With the enhancement of ISOIMAGE-ENH, now you’re able to mount and umount iso images (like in Linux):
root@vmhost1:/# kcmodule fspd=loaded root@vmhost1:/# mount -F cdfs /tmp/test.iso /mnt root@vmhost1:/# bdf /mnt /dev/fspd1 102888 102888 0 100% /mnt
If you get an error like this one:
mount: /tmp/test.iso is an invalid operand
then most probably you’ve forgotten to load the fspd module.
The package could be installed during installation or downloaded from Software Depot home, here and it’s available only for HP-UX 11iv3.
Regards,
Sve