- 论坛徽章:
- 0
|
-- shiyu.w 2008/3/23 ¶
# ln -sf /usr/lib/boot/unix_64 /unix
# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
# lslv -m hd5
# bosboot -ad /dev/ipldevice
# shutdown -Fr
附:解析命令:bosboot -ad /dev/ipldevice
/dev/ipldevice is a link to the boot disk .
the command bosboot create a boot images on this file .
/dev/ipldevice 是到引导盘的链接
一般的来说,相当于bosboot -ad /dev/rhdisk0
# ls -al /dev/hdisk0 /dev/rhdisk0 /dev/ipldevice
brw------- 1 root system 20, 0 Jan 11 13:34 /dev/hdisk0
crw------- 2 root system 20, 0 Jan 11 12:32 /dev/ipldevice
crw------- 2 root system 20, 0 Jan 11 12:32 /dev/rhdisk0
ipldevice和启动硬盘hdisk0的major number和minor number都一样,说明它们指向同一设备。特殊文件由于其特殊性(它是实际上是设备而不是文件),可以不用link的方式,就能做到不同名称的文件指向同一设备。
hdisk0用块方式访问,所以是b;
rdisk0用字符方式访问,所以是c;
ipldevice与rhdisk0实际上完全相同。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/64350/showart_504652.html |
|