2 .\" Copyright (c) 2002 Sun Microsystems, Inc. All
4 .\" 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.
5 .\" 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.
6 .\" 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]
7 .TH DRVCONFIG 8 "Aug 9, 2004"
9 drvconfig \- apply permission and ownership changes to devices
13 \fBdrvconfig\fR [\fB-bn\fR] [\fB-a\fR \fIalias_name\fR] [\fB-c\fR \fIclass_name\fR]
14 [\fB-i\fR \fIdrivername\fR] [\fB-m\fR \fImajor_num\fR] [\fB-r\fR \fIroot_dir\fR]
20 \fBdevfsadm\fR(8) is now the preferred command and should be used instead of
24 The default operation of \fBdrvconfig\fR is to apply permission and ownership
25 changes to devices. Normally, this command is run automatically after a new
26 driver has been installed (with \fBadd_drv\fR(8)) and the system has been
31 The following options are supported:
35 \fB\fB-a\fR\fIalias_name\fR\fR
38 Add the name \fIalias_name\fR to the list of aliases that this driver is known
39 by. This option, if used, must be used with the \fB-m\fR \fImajor_num\fR, the
40 \fB-b\fR and the \fB-i\fR \fIdrivername\fR options.
49 Add a new major number to name binding into the kernel's internal
50 \fBname_to_major\fR tables. This option is not normally used directly, but is
51 used by other utilities such as \fBadd_drv\fR(8). Use of the \fB-b\fR option
52 requires that \fB-i\fR and \fB-m\fR be used also. No \fB/devices\fR entries are
59 \fB\fB-c\fR\fIclass_name\fR\fR
62 The driver being added to the system exports the class \fIclass_name\fR. This
63 option is not normally used directly, but is used by other utilities. It is
64 only effective when used with the \fB-b\fR option.
70 \fB\fB-i\fR\fIdrivername\fR\fR
73 Only configure the devices for the named driver. The following options are used
74 by the implementation of \fBadd_drv\fR(8) and \fBrem_drv\fR(8), and may not
75 be supported in future versions of Solaris:
81 \fB\fB-m\fR\fImajor_num\fR\fR
84 Specify the major number \fImajor_num\fR for this driver to add to the kernel's
85 \fBname_to_major\fR binding tables.
94 Do not try to load and attach any drivers, or if the \fB-i\fR option is given,
95 do not try to attach the driver named \fIdrivername\fR.
101 \fB\fB-r\fR\fIroot_dir\fR\fR
104 Perform operations under \fIroot_dir\fR, rather than directly under \fBroot\fR.
114 Successful completion.
133 Device nodes directory
139 \fB\fB/etc/minor_perm\fR\fR
142 Minor mode permissions
148 \fB\fB/etc/name_to_major\fR\fR
157 \fB\fB/etc/driver_classes\fR\fR
160 Driver class binding file
166 \fBsh\fR(1), \fBadd_drv\fR(8), \fBmodinfo\fR(8), \fBmodload\fR(8),
167 \fBmodunload\fR(8), \fBrem_drv\fR(8), \fBupdate_drv\fR(8),
168 \fBpath_to_inst\fR(4), \fBattributes\fR(5), \fBdevfs\fR(7FS)