6324 Add an `ndp' tool for manipulating the neighbors table
[illumos-gate.git] / usr / src / man / man1m / mkdevalloc.1m
blob7739ddd0a717564ef95bdc6936b41eef7731d722
1 '\" te
2 .\" Copyright 2001, Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH MKDEVALLOC 1M "Oct 8, 2003"
7 .SH NAME
8 mkdevalloc \- Make device_allocate entries
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/sbin/mkdevalloc\fR
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 The \fBmkdevalloc\fR command writes to standard out a set of
19 \fBdevice_allocate\fR(4) entries describing the system's frame buffer, audio
20 and removable media devices.
21 .sp
22 .LP
23 The \fBmkdevalloc\fR command is used by the \fBinit.d\fR(4) scripts to create
24 or update the \fB/etc/security/device_allocate\fR file.
25 .sp
26 .LP
27 Entries are generated based on the device special files found in \fB/dev\fR.
28 For the different categories of devices, the \fBmkdevalloc\fR command checks
29 for the following files under \fB/dev\fR:
30 .sp
31 .in +2
32 .nf
33 audio           /dev/audio, /dev/audioctl, /dev/sound/...
34 tape            /dev/rst*, /dev/nrst*, /dev/rmt/...
35 floppy          /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd*
36 removable disk  /dev/sr*, /dev/nsr*, /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s?
37 frame buffer    /dev/fb
38 .fi
39 .in -2
41 .sp
42 .LP
43 All entries set the \fIdevice-minimum\fR and \fIdevice-maximum\fR fields to the
44 hex representations of \fBADMIN_LOW\fR and \fBADMIN_HIGH\fR, respectively. The
45 \fIdevice-authorization\fR field is set to \fBsolaris.device.allocate\fR,
46 except for the \fBframebuffer\fR entry, where it is set to \fB*\fR. The
47 \fIdevice-name\fR, \fIdevice-type\fR and \fIdevice-clean\fR fields are set to
48 the following values:
49 .sp
50 .in +2
51 .nf
52                 device-name      device-type   device-clean
54 audio           audio            audio         audio_clean_wrapper
55 tape            mag_tape_0,1,... st            st_clean
56 floppy          floppy_0,1,...   fd            disk_clean
57 removable disk  cdrom_0,1,...    sr            disk_clean
58 frame buffer    framebuffer      fb            /bin/true
59 .fi
60 .in -2
62 .SH ATTRIBUTES
63 .sp
64 .LP
65 See \fBattributes\fR(5) for descriptions of the following attributes:
66 .sp
68 .sp
69 .TS
70 box;
71 c | c
72 l | l .
73 ATTRIBUTE TYPE  ATTRIBUTE VALUE
75 Interface Stability     Obsolete
76 .TE
78 .SH SEE ALSO
79 .sp
80 .LP
81 \fBallocate\fR(1), \fBbsmconv\fR(1M), \fBattributes\fR(5)
82 .SH NOTES
83 .sp
84 .LP
85 \fBmkdevalloc\fR might not be supported in a future release of the Solaris
86 operating system.