device-map(4) — FILE FORMATS
NAME
device-map − script for makedev
DESCRIPTION
The /etc/device-map file controls the assignment of generic device names for system administration and generic use.
The /etc/device-map file contains two kinds of lines: comment lines and assignment lines.
1. Any line starting with the # character is assumed to be a comment.
2. An assignment line consists of two fields separated by white space (tab or space characters). The first field specifies the generic device type (for example, ctape, disk, ninetrack). The second field contains the controller-specific name of the device that will be assigned that generic name (for example, /dev/rmt/m328_c0d0).
The generic device number is assigned automatically, based on the position of the assignment line relative to other generic assignment of that type.
If the controller-specific device does not exist or is of the incorrect type, the assignment line is ignored. Processing continues on other legal assignment lines.
A partial example of an /etc/device-map file is presented below:
.
.
# Cartridge tapes devices
ctape/dev/rmt/m328_c0d0
ctape/dev/rmt/m328_c0d4
.
.