master(4) master(4)
NAME
master - master device information table
DESCRIPTION
This file is used by the config(1M) program to obtain device
information that enables it to generate the configuration
files. The file consists of 3 parts, each separated by a
line with a dollar sign ($) in column 1. Part 1 contains
device information; part 2 contains names of devices that
have aliases; part 3 contains tunable parameter information.
Any line with an asterisk (*) in column 1 is treated as a
comment.
Part 1 contains lines consisting of at least 7 fields and at
most 10 fields, with the fields delimited by tabs and/or
blanks:
Field 1: device name (8 chars. maximum).
Field 2: handlers (9 character string)
's', INIT, xxxxinit()
'o', OPEN, xxxxopen()
'c', CLOSE, xxxxclose()
'r', READ, xxxxread()
'w', WRITE, xxxxwrite()
'i', IOCTL, xxxxioctl()
't', SELECT, xxxxselect()
'-', No handlers
Field 3: device type indicator (9 character string):
'm', SEMAS, define semaphores
't', TTYS, a tty device
'o', ONCE, can only be specified once
's', NOCNT, suppress count & other stuff
'r', REQ, required device
'b', BLOCK, a block device
'c', CHAR, a character device
'k', CLOCK, the clock device
'p', PECULIAR, peculiar (use devname, not prefix)
'f', FORCE, Define count if not a tty
'-', No type indicators
Field 4: handler prefix (4 chars. maximum).
Field 5: major device number for block-type device
(short decimal).
Field 6: major device number for character-type device
(short decimal).
Field 7: maximum number of devices/lines (short
decimal).
Fields 8-10: optional structure declarations (40 chars.
maximum).
Part 2 contains lines with 2 fields each:
Field 1: alias name of device (20 chars.
Page 1 (last mod. 1/14/87)
master(4) master(4)
maximum).
Field 2: reference name of device (20 chars.
maximum; specified in part 1).
Part 3 contains lines with 2 or 3 fields each:
Field 1: parameter name (as it appears in
description file; 20 chars. maximum)
Field 2: text form (as it appears in the conf.c
file; 20 chars. maximum)
Field 3: default parameter value (20 chars.
maximum; specification in description
file is required if this field is
omitted)
FILES
/etc/master
SEE ALSO
config(1M).
Page 2 (last mod. 1/14/87)