ijava学习网> 知识分享> Linux> UNIX 操作系统mount ISO 文件的方法

UNIX 操作系统mount ISO 文件的方法

时间: 2019-03-14 17:02:08 标签Unix , 文件 , 操作系统 , iso , mount
Details:
On RedHat Linux:
To mount: # mount -t iso9660 / / -o loop
To unmount: # umount /
On Solaris:
To mount:
# lofiadm -a / (will create device file /dev/lofi/1)
# mount -F hsfs -o ro /dev/lofi/1 /
To unmount:
# umount /
# lofiadm -d /dev/lofi/1
On HP-UX:
To mount:
# nohup pfs_mountd &
# nohup pfsd &
# pfs_mount -o xlat=UNIX /
To unmount:
# pfs_umount /
Subsequently, kill the following processes:
1. pfs_mountd
2. pfsd
3. pfs_mountd.rpc
4. pfsd.rpc
On IBM AIX:
To mount:
1. Build a logical volume (the size of an ISO image, better if a little bigger)
2. Create an entry in /etc/filesystem using that logical volume (LV), but setting its Virtual
File System (V’S) to be cdrfs
3. Create the mount point for this LV/ISO
4. Copy the ISO image to the LV using dd
5. Mount and work on it like a mounted CD-ROM
The entry in /etc/filesystem should look like:
/IsoCD:
dev = /dev/lv09
vfs = cdrfs
mount = false
options = ro
account = false
To unmount:
1. Unmount the file system
2. Destroy the logical volume

版权说明| 关于ijava| 合作伙伴| 联系我们| 网站地图| 招贤纳士

Copyright © 2017 www.ijava.com All Rights Reserved 版权所有•ijava学习网 京ICP备14061482号-18         官方QQ:3325669927

ijava学习网提供免费java教程和大量java面试题库,给高级会员提供免费的java培训,同时提共一些java开发项目和java下载,java工程师,java菜鸟们快来哦。记住我们的网站:www.ijava.com