免费注册 查看新帖 |

Chinaunix

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

[新手入门] AIX下 将32位内核转变为64位内核 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-23 01:05 |只看该作者 |倒序浏览

-- 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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP