Chinaunix首页 | 论坛 | 博客
  • 博客访问: 49869
  • 博文数量: 26
  • 博客积分: 1250
  • 博客等级: 中尉
  • 技术积分: 320
  • 用 户 组: 普通用户
  • 注册时间: 2006-11-23 11:02
文章分类

全部博文(26)

文章存档

2011年(2)

2008年(17)

2007年(7)

我的朋友

分类:

2007-10-30 15:04:36

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.
阅读(639) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~