res_major(4) res_major(4)
NAME
res_major - reserved major numbers for base system device
drivers
SYNOPSIS
res_major
DESCRIPTION
One of the Installable Driver/Tunable Parameters kernel
configuration files, the res_major file defines the major
numbers that are reserved for use by device drivers supplied
with the base system. When the idinstall(1M) command
allocates major numbers for an add-on driver, it examines the
contents of the file /etc/conf/cf.d/res_major to make sure the
major number it intends to allocate to the add-on driver is
not already reserved for allocation to a base system driver.
This file should not be used by add-on drivers.
Any base system driver that sets a k (keep majors) flag in the
characteristics field of its Master(4) file must add its major
numbers to the res_major file. Each res_major file entry
provides information about one type of base system driver,
specified on a line of the form:
device-type major-number module-name
All fields are positional and must be separated by tabs.
The res_major file fields are:
device-type
Identifies the type of base system device driver.
The character b indicates that the driver is a block
device driver; the character c indicates that the
driver is a character device driver. If the driver
is both a block device driver and a character device
driver, the driver must define two separate
res_major entries, with one entry for each device
type.
major-number
Specifies the major number(s) reserved by the base
system device driver. If the device has multiple
major numbers, this field should be specified as two
numbers separated by a dash to indicate an inclusive
range of reserved values. The value for this field
must match the value specified in the bmaj or cmaj
Copyright 1994 Novell, Inc. Page 1
res_major(4) res_major(4)
field in the driver's Master file.
module-name
Identifies the base system device driver for which
the major number(s) are reserved. The name must
match the name specified for the driver in the
module-name field of the Master file.
REFERENCES
idinstall(1M), Master(4)
Copyright 1994 Novell, Inc. Page 2