predefined
Purpose
Provides information for predefined devices.
Description
The predefined file contains information about hardware
adapters and devices that is used by the devices command.
Some of these devices may not be present in a particular
configuration, but all of them are supported by the
system. The predefined file contains information needed
when adding one of these devices so that you do not have
to supply the information yourself. The size of this
file increases with new entries as additional licensed
programs are installed in the system.
The devices command uses the information in this file to
set up stanzas in the system and qconfig files when
devices are added to the system. Note that information
in this file has no effect on the system until it is
moved to a stanza in the system or qconfig file.
The predefined file is similar in structure and content
to the system file, and its stanzas can contain any of
the keywords that are allowed in the system file. See
"system" for a description of the keywords that can
appear in stanzas of these files.
The use of extended characters in the predefined file is
not supported.
The predefined file contains several special stanzas:
defqueue Used by the devices command to create the
queue stanza in the qconfig file when a
printer or plotter is added.
defdevice Used by the devices command to create the
device stanza in the qconfig file when a
printer or plotter is added.
default Contains keywords and their values that are
common to all device stanzas.
adpts Contains a list of adapters with the code
number and description that the devices
command uses to identify each one.
addrs Contains a list of adapters and their corre-
sponding adapter type and address.
Example
The following shows sample entries of the predefined
file.
defqueue:
argname = none
device = none
defdevice:
file = /dev/none
backend = /usr/lpd/piobe
default:
modes = rw-rw-rw-
owner = root
adpts:
mp = 49
* IBM Mono Disp & Paral Prntr
sp1 = 23
* IBM Ser/Par Adptr, Primary
sp2 = 23
* IBM Ser/Par Adptr, Secondary
rs232c1 = 35
addrs:
2A03BC = mp
2A0378 = sp1par
2A0278 = sp2par
2303F8 = sp1
2302F8 = sp2
351230 = rs232c1
5182:
* IBM PC Color Printer (5182)
name = 5182
nname = 5182
driver = u5182
crname = true
minor = c
vint = 4
iodn =
kaf_file = /etc/ddi/pprinter.kaf
kaf_use = kparallel
file = /etc/ddi/pprinter
use = d5182
noddi = false
dtype = printer
* Printer
switchable = true
* Coprocessor Device
specproc = cfgaqcfg
shared = false
noduplicate = false
dname = lp
noshow = false
aflag = true
* adapter description
adp = mp,sp1,sp2
File
/etc/predefined
Related Information
In this book: "attributes" and "system."