Using the HP-UX libIO Library

Table 3 – keys to Search I/O Trees
Key Name Data Type Description
"parent" void *
Token corresponding to the parent of the given
token.
"name" char *
The name of the given token.
"b_major" int
Block major number.
"c_major" int
Character major number.
"instance" int
The instance number of the given node.
"type" char *
The corresponding node’s type. For example,
DEVICE, PROCESSOR, MEMORY, etc.
"class" char *
The class of the corresponding class. For example,
disk, tape, etc.
"state" char *
The corresponding node’s state. For example,
CLAIMED or UNCLAIMED.
"hw_path" hw_path_t
The hardware path of the given node.
"description" char *
The description of the node.
"driver_name" char *
The corresponding node’s driver name. For
example, sdisk, esdisk, estape, etc.
"bus_type" char *
Bus_type of the node.
"minor_num" int
The device number corresponding to the token.
"id_bytes" void *
The identification bytes of the given node.
"is_block" int
True, if the driver can be accessed via block
switch table.
"is_char" int
True, if the driver can be accessed via the
character switch table.
"is_pseudo" int
True, if token corresponds to pseudo driver.
"is_virtbus" int
True, if the token corresponds to a virtbus.