歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> 在AIX 上MOUNT *.ISO鏡像文件

在AIX 上MOUNT *.ISO鏡像文件

日期:2017/2/28 11:19:20   编辑:關於Unix


謹以此文獻給沒有刻錄機的兄弟 :
用處不大,在實在沒有刻錄機的時候,可以一用, :) 經測試,在aix4.3.3和aix5.1都可以。
1、建立一個邏輯卷,大小和ISO image相同或者大些。
2、在/etc/filesystems文件中加入並編輯該邏輯卷條目,設置vfs為cdrfs
例如:
# vi /etc/filesystems
/isocd:
dev = /dev/isocd
vfs = cdrfs
mount = false
options = ro
account = false
3) 為該LV創建加載點 /iso_dir
4) 用dd命令拷貝該iso images到該LV
# dd if=/cdrom/domino.iso of=/dev/isocd
5) 和mount CD-ROM一樣,mount該
# mount -rv cdrfs /dev/isocd /iso_dir
6) cd /iso_dir就可以看到你想要的東東了。沒有刻錄機也沒有關系啦。
Copyright © Linux教程網 All Rights Reserved