免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2167 | 回复: 0
打印 上一主题 下一主题

[新手入门] Howto mount an ISO image in AIX UNIX [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-26 17:12 |只看该作者 |倒序浏览
You need to type the following commands:
=> crfs: Adds a file system.
=> dd: A raw copy tool for UNIX
=> chfs: Changes attributes of a file system.
=> mount: Mount a file system
=> rmfs : Remove a file system
First Create a filesystem with crfs command:
#/usr/sbin/crfs -v jfs -g rootvg -a size=800 -m/cd1iso -Ano -pro -tno -a frag=4096 -a nbpi=4096 -a ag=8
This command creates the /cd1iso file system on the rootvg volume group.
Now dd the "iso" image into rlv00
# dd if=image.iso of=/dev/rlv00 bs=10M
Use chfs  to change the attributes of a file system:
# chfs -a vfs=cdrom cd1iso
# mount /cd1iso
# cd  /cd1iso
When done, remove the filesystem/unmount, enter:
# rmfs /cd1iso
This removes the /cd1iso file system, its entry in the
/etc/filesystems (created using chfs command) file, and the underlying
logical volume.
For even larger ISO files, for example,
DVD images, use larger ag and nbpi.
to remove the logical volume, use:
rmlv lv00
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/23382/showart_1880697.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP