- 论坛徽章:
- 0
|
AIX的如下:
Q. I know how to mount an ISO image in Sun Solaris UNIX and Linux. I was just wondering if there is a way to mount an ISO image in IBM AIX UNIX.
A. 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. |
|