xref: /illumos-gate/usr/src/man/man8/mkdevmaps.8 (revision 37e2cd25d56b334a2403f2540a0b0a1e6a40bcd1)
te
Copyright 2001, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
MKDEVMAPS 8 "Mar 6, 2017"
NAME
mkdevmaps - make device_maps entries
SYNOPSIS

/usr/sbin/mkdevmaps
DESCRIPTION

The mkdevmaps command writes to standard out a set of device_maps(5) entries describing the system's frame buffer, audio, and removable media devices.

The mkdevmaps command is used by the init.d(5) scripts to create or update the /etc/security/device_maps file.

Entries are generated based on the device special files found in /dev. For the different categories of devices, the mkdevmaps command checks for the following files under /dev:

audio /dev/audio, /dev/audioctl, /dev/sound/...
tape /dev/rst*, /dev/nrst*, /dev/rmt/...
floppy /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd*
removable disk /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s?
frame buffer /dev/fb
ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Obsolete
SEE ALSO

allocate (1), attributes (7)

NOTES

mkdevmaps might not be supported in a future release of the Solaris operating system.