8980 BIOS clock is sometimes one hour fast
[unleashed.git] / usr / src / man / man1m / mkdevalloc.1m
blobd7adede48862a74b04bf8d586e79abc72786c601
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 "Mar 6, 2017"
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 .LP
17 The \fBmkdevalloc\fR command writes to standard out a set of
18 \fBdevice_allocate\fR(4) entries describing the system's frame buffer, audio
19 and removable media devices.
20 .sp
21 .LP
22 The \fBmkdevalloc\fR command is used by the \fBinit.d\fR(4) scripts to create
23 or update the \fB/etc/security/device_allocate\fR file.
24 .sp
25 .LP
26 Entries are generated based on the device special files found in \fB/dev\fR.
27 For the different categories of devices, the \fBmkdevalloc\fR command checks
28 for the following files under \fB/dev\fR:
29 .sp
30 .in +2
31 .nf
32 audio           /dev/audio, /dev/audioctl, /dev/sound/...
33 tape            /dev/rst*, /dev/nrst*, /dev/rmt/...
34 floppy          /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd*
35 removable disk  /dev/sr*, /dev/nsr*, /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s?
36 frame buffer    /dev/fb
37 .fi
38 .in -2
40 .sp
41 .LP
42 All entries set the \fIdevice-minimum\fR and \fIdevice-maximum\fR fields to the
43 hex representations of \fBADMIN_LOW\fR and \fBADMIN_HIGH\fR, respectively. The
44 \fIdevice-authorization\fR field is set to \fBsolaris.device.allocate\fR,
45 except for the \fBframebuffer\fR entry, where it is set to \fB*\fR. The
46 \fIdevice-name\fR, \fIdevice-type\fR and \fIdevice-clean\fR fields are set to
47 the following values:
48 .sp
49 .in +2
50 .nf
51                 device-name      device-type   device-clean
53 audio           audio            audio         audio_clean_wrapper
54 tape            mag_tape_0,1,... st            st_clean
55 floppy          floppy_0,1,...   fd            disk_clean
56 removable disk  cdrom_0,1,...    sr            disk_clean
57 frame buffer    framebuffer      fb            /bin/true
58 .fi
59 .in -2
61 .SH ATTRIBUTES
62 .LP
63 See \fBattributes\fR(5) for descriptions of the following attributes:
64 .sp
66 .sp
67 .TS
68 box;
69 c | c
70 l | l .
71 ATTRIBUTE TYPE  ATTRIBUTE VALUE
73 Interface Stability     Obsolete
74 .TE
76 .SH SEE ALSO
77 .LP
78 \fBallocate\fR(1), \fBattributes\fR(5)
79 .SH NOTES
80 .LP
81 \fBmkdevalloc\fR might not be supported in a future release of the Solaris
82 operating system.