免费注册 查看新帖 |

Chinaunix

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

HP-UX设备号是根据什么规则命名的? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-01 11:19 |只看该作者 |倒序浏览
请教:
HP-UX设备号是根据什么规则命名的?
比如网卡号,磁盘号等

论坛徽章:
0
2 [报告]
发表于 2007-03-01 16:14 |只看该作者
看过一个说明,贴出来看看。
all mass storage devices adhere to a syntax that includes c#t#d#[s#]

c# represents the card instance number for the class of
interface card to which the device is connected. Classes
of interface cards include ext_bus, graphics, tty, lan,
and others. The card instance of an interface card is
unique for its specific class. There is no relationship
between the instance number and the slot number of
the interface card in the card cage.
Class and instance number can be seen in the first two
columns of /usr/sbin/ioscan -f output. When
interpreting a device special file, the only significant
instance number is the card instance (that is, the
instance number for the class of interface to which a
device is attached). Thus, in a sample disk device file
/dev/rdsk/c1t4d0, the c1 refers to the card instance,
not to an LU number (as in previous releases).


t# represents the target address of the device on the
interface bus. The address can range from 0 to 7 for a
single-ended device, and from 0 to 15 for a fast wide
device. Typically t# is the address set with jumpers or
dip switches on the device itself.

d# represents the device number, and can range from 0
to 7 maximum. On SCSI devices, d# is the SCSI LUN.
Except for multi-function devices, d# is typically d0.

s# specifies section number (optional; made available for
backward compatibility). Note, section 0 now represents the entire disk, while section 2 represents a
small disk section (previously section 0). If the s# is not
shown, the device special file refers to the entire disk.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP