|Command||filename.devs Definition/Access: General
Applicable release versions: AP 6.1
|Category||Access: General (65)|
|Description||defines the various devices in the system.
This file, located on the 'dm' account, has two data levels:
init This data level contains static information, which can be changed by the System Administrator, to set up the various entities in the system. For example, the initial baud rate of the serial ports, whether 'tandem' is allowed on the Pick ports or not, can be specified in this data level. It contains an item for all possible elements in the system, even if they are not physically present.
devs This data level contains dynamic information. The TCL command ':reset-async', normally run at boot time in the 'system-coldstart' macro, clears the file 'devs,devs', and copies the information from 'devs,init' into 'devs,devs'. Only the physically present system elements are represented in this file. The fact or writing an item into this data level actually programs the device. Items in this file may be added or removed by the "dev-make" or "dev-remov" TCL commands (AP/Unix only).
The item-id's in this file are the entity ids, which are composed of a one letter code ('p' for Pick ports, 's' for serial device, 'e' for Ethernet, etc...), followed by the entity number in decimal (the Pick port number, the serial device number, the TCP/IP connection id, etc...). See the section "entity" in this document for more information.
Both data levels can be examined using Access or the Update processor.
The structure of an item in these files is described in the include 'dm,bp,includes qcb.inc'.
u devs,init s12 Examine the characteristics of serial device 12. This brings up the Update processor, and allows changing the serial device initial setting. Filing this item does not actually change the setting. It will be changed the next time the command ':reset-async' is run (normally at boot time) or by running the command ':reset-async s12' u devs p0 Examine the characteristics of Pick port 0. The only element than can be changed is the 'tandem' flag, which controls whether tandem is allow or not on port 0, and whether the target process should be notified about the tandem on/off. See "tandem" in this document. sort devs = "s]" Show the current status of all serial ports.