2.9BSD/usr/man/cat5/dtab.5
DTAB(5) UNIX Programmer's Manual DTAB(5)
NAME
dtab - table of devices for automatic system configuration
DESCRIPTION
The dtab file contains a list of the devices that the _a_u_t_o_-
_c_o_n_f_i_g program will attempt to attach to the system.
Each line describes one device which may be present on the
system; additional devices of the same type require addi-
tional lines. The line contains at least six fields
separated by white space and terminated by a semicolon. The
fields are (in order):
dev The device name, usually two characters
unit Either a unit number or a ? indicating automatic
selection of unit numbers
addr The address of the device's first register, as a
16-bit octal number
vector The interrupt vector, in octal
BR The priority at which the device interrupts
handler(s) One or more routine names with which the inter-
rupt vector is filled.
The "#" is the comment indicator and all characters from "#"
to the end of the line are ignored.
EXAMPLE
Here is an example dtab file:
# Device Configuration Table
# Clock and console are pre-configured and should not be listed here
#
# Dev# Addr Vector Br Handler(s) ; Comment
lp 0 177514 200 4 lpintr ; line printer
ht 0 172440 224 5 htintr ; tu 16 massbus tape
xp ? 176700 254 5 xpintr ; disk drive
dm ? 170500 300 4 dmint ; DM-11 BB DH Modem Control
dh ? 160020 310 5 dhrint dhxint ; dh11 terminal mux
dz ? 160140 340 5 dzrint dzdma ; dz11 terminal mux
FILES
/etc/dtab device table
SEE ALSO
autoconfig(8)
Printed 8/1/83 1