makedev(1M) makedev(1M)
NAME
makedev - adds /dev entries for generic devices table
SYNOPSIS
/sbin/auto-device/makedev
DESCRIPTION
makedev performs the following steps:
1. Any generic device names in the /dev/SA and /dev/rSA directories
are deleted. For the reference port only, the AT&T-compatible
device names in the /dev/dsk and /dev/rdsk directories are also
deleted.
2. The /dev/dsk, /dev/rdsk, /dev/rmt directories are scanned for the
controller-specific device names present (for example, m323* or
m350*). For each unique disk and tape found, its Extended EDT
information is examined to determine if it is a hard disk,
floppy, archive-compatable tape, or nine-track tape.
3. Generic device names for each device type [for example, hard disk
(disk), archive (ctape), nine track (ninetrack)] will be assigned
numbers (starting with 1) in the order that the devices were
scanned if the file /etc/device-map is not found. If this file
is present, device numbers are assigned in the order that the
controller-specific names are listed in the file. Any devices
found that are not specified in the file have their device
numbers assigned in scanned order.
4. The generic names are created in the /dev/SA and /dev/rSA
directories. For the reference port only, AT&T-compatible disk
names are created in /dev/dsk and /dev/rdsk by linking them to
the controller-specific names.
makedev is called each time the system is booted, but after all other
device naming programs have been run. It must also be called after
sysadm rmdisk to restore the /dev entries so a disk can be
repartitioned.
FILES
/dev/SA/* entries for the hard disks for use by system administration
/dev/rSA/*
entries for the hard disks and tapes for use by system
administration
SEE ALSO
mvme323(1M), mvme328(1M), mvme350(1M), sysadm(1M).
device-map(4) in the Programmer's Reference Manual
7/91 Page 1