www.devrecipes.com/2009/05/20/how-to-mount-iso-images-on-hp-ux-solaris-and-linux/
On HP-UX
For version 11.11:
- Start the pfs mount daemon and the pfs daemon:
shell> nohup pfs_mountd &
shell> nohup pfsd & - Then create the directory to mount to and run the pfs_mount command:
shell> mkdir /cdrom
shell> pfs_mount -o xlat=UNIX /path/to/isofile /cdrom
Version 11.31
- Create a new logical volume say ‘iso’ of size slightly greater than the size of your iso image in MB. You can do this from the admin tool-sam, or by using the following command.
shell>lvcreate -L size_of_your_iso -n iso /dev/vg00
- Write your iso to the new volume. Needless to say, you must have the required free space.
shell>dd if=path/to/iso of=/dev/vg00/riso bs=64
- Now mount it on the directory of your choice, say /cdrom:
shell>mount /dev/vg00/iso /cdrom
On Solaris
- Make the iso image accessible through the block device. (See the lofiadm man page for more details)
shell> lofiadm -a /path/to/iso/your_isao.iso
- Then mount it wherever you want to, say on /cdrom
shell> mount -F hsfs -o ro /dev/lofi/1 /cdrom
On Linux
- Use the following command to mount on the directory of your choice, say /mnt/myisodir
mount -o loop myiso.iso /mnt/myisodir
本文介绍了在HP-UX、Solaris和Linux操作系统中挂载ISO映像的方法,包括HP-UX的版本11.11和11.31的详细步骤,Solaris的ISO映像访问方法,以及Linux中使用loopback挂载ISO的技巧。

898

被折叠的 条评论
为什么被折叠?



