2 .\" Copyright (c) 1993, Sun Microsystems, Inc.
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 DMINFO 1M "Apr 16, 2008"
8 dminfo \- report information about a device entry in a device maps file
12 \fBdminfo\fR [\fB-v\fR] [\fB-a\fR] [\fB-f\fR \fIpathname\fR]
17 \fBdminfo\fR [\fB-v\fR] [\fB-a\fR] [\fB-f\fR \fIpathname\fR] \fB-n\fR \fIdev\fR \fB-\fIname\fR\fR...
22 \fBdminfo\fR [\fB-v\fR] [\fB-a\fR] [\fB-f\fR \fIpathname\fR] \fB-d\fR \fIdev\fR \fB-\fIpath\fR\fR...
27 \fBdminfo\fR [\fB-v\fR] [\fB-a\fR] [\fB-f\fR \fIpathname\fR] \fB-t\fR \fIdev\fR \fB-\fItype\fR\fR...
32 \fBdminfo\fR [\fB-v\fR] [\fB-f\fR \fIpathname\fR] \fB-u\fR \fIdm\fR -\fIentry\fR
38 \fBdminfo\fR reports and updates information about the \fBdevice_maps\fR(4)
43 The following options are supported
50 Succeed if any of the requested entries are found. If used with \fB-v\fR, all
51 entries that match the requested case(s) are printed.
57 \fB\fB-d\fR \fIdev\(mipath\fR\fR
60 Search by \fIdev\(mipath\fR. Search \fBdevice_maps\fR(4) for a device special
61 pathname in the \fIdevice_list\fR field matching the \fIdev\(mipath\fR
62 argument. This option cannot be used with \fB-n\fR, \fB-t\fR or \fB-u\fR.
68 \fB\fB-f\fR \fIpathname\fR\fR
71 Use a device_maps file with \fIpathname\fR instead of
72 \fB/etc/security/device_maps\fR.
78 \fB\fB-n\fR \fIdev\(miname\fR\fR
81 Search by \fIdev\(miname\fR. Search \fBdevice_maps\fR(4) for a
82 \fIdevice_name\fR field matching \fIdev\(miname\fR. This option cannot be used
83 with \fB-d\fR, \fB-t\fR or \fB-u\fR.
89 \fB\fB-t\fR \fIdev\(mitype\fR\fR
92 Search by \fIdev\(mitype\fR. Search \fBdevice_maps\fR(4) for a
93 \fIdevice_type\fR field matching the given \fIdev\(mitype\fR. This option
94 cannot be used with \fB-d\fR, \fB-n\fR or \fB-u\fR.
100 \fB\fB-u\fR \fIdm\(mientry\fR\fR
103 Update the \fBdevice_maps\fR(4) file. This option is provided to add entries to
104 the \fBdevice_maps\fR(4) file. The \fIdm\(mientry\fR must be a complete
105 \fBdevice_maps\fR(4) file entry. The \fIdm\(mientry\fR has fields, as in the
106 \fBdevice_maps\fR file. It uses the colon (\fB:\fR) as a field separator, and
107 white space as the \fIdevice_list\fR subfield separators. The \fIdm\(mientry\fR
108 is not made if any fields are missing, or if the \fIdm\(mientry\fR would be a
109 duplicate. The default device maps file can be updated only by the super user.
118 Verbose. Print the requested entry or entries, one line per entry, on the
119 standard output. If no entries are specified, all are printed.
129 Successful completion.
153 \fB/etc/security/device_maps\fR
157 \fBbsmconv\fR(1M), \fBdevice_maps\fR(4), \fBattributes\fR(5)
161 The functionality described in this man page is available only if the Solaris
162 Auditing feature has been enabled. See \fBbsmconv\fR(1M) for more information.