歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Unix知識 >> 關於Unix

SunOS掛接ISO光盤文件試驗筆記


此功能應用於Solaris8以上版本!
掛接:
# pwd
/home/ha2
# ls -l studio_11_solspa.iso
-rw-r--r-- 1 ha2 other 542996480 8月 18日 14:56 studio_11_solspa.iso
# lofiadm -a /home/ha2/studio_11_solspa.iso /dev/lofi/1
# lofiadm /dev/lofi/1
/home/ha2/studio_11_solspa.iso
# lofiadm
Block Device File
/dev/lofi/1 /home/ha2/studio_11_solspa.iso
# mount -F hsfs -o ro /dev/lofi/1 /mnt
# df -k
文件系統 千字節 用了 可用 容量 掛接在
/dev/dsk/c0t0d0s0 8261333 5668020 2510700 70% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 2773048 1184 2771864 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
fd 0 0 0 0% /dev/fd
swap 3342360 570496 2771864 18% /tmp
swap 2771928 64 2771864 1% /var/run
/dev/dsk/c0t0d0s3 8262845 1642898 6537319 21% /home
/dev/lofi/1 530270 530270 0 100% /mnt
# cd /mnt
# ls
Documentation batch_installer kits volstart
LICENSE_README installer release_notes.html
#

卸載:
# umount /mnt
# lofiadm -d /dev/lofi/1
# lofiadm
Block Device File
“------NULL------”
Copyright © Linux教程網 All Rights Reserved