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 "Mar 6, 2017"
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
37 \fBdminfo\fR reports and updates information about the \fBdevice_maps\fR(4)
41 The following options are supported
48 Succeed if any of the requested entries are found. If used with \fB-v\fR, all
49 entries that match the requested case(s) are printed.
55 \fB\fB-d\fR \fIdev\(mipath\fR\fR
58 Search by \fIdev\(mipath\fR. Search \fBdevice_maps\fR(4) for a device special
59 pathname in the \fIdevice_list\fR field matching the \fIdev\(mipath\fR
60 argument. This option cannot be used with \fB-n\fR, \fB-t\fR or \fB-u\fR.
66 \fB\fB-f\fR \fIpathname\fR\fR
69 Use a device_maps file with \fIpathname\fR instead of
70 \fB/etc/security/device_maps\fR.
76 \fB\fB-n\fR \fIdev\(miname\fR\fR
79 Search by \fIdev\(miname\fR. Search \fBdevice_maps\fR(4) for a
80 \fIdevice_name\fR field matching \fIdev\(miname\fR. This option cannot be used
81 with \fB-d\fR, \fB-t\fR or \fB-u\fR.
87 \fB\fB-t\fR \fIdev\(mitype\fR\fR
90 Search by \fIdev\(mitype\fR. Search \fBdevice_maps\fR(4) for a
91 \fIdevice_type\fR field matching the given \fIdev\(mitype\fR. This option
92 cannot be used with \fB-d\fR, \fB-n\fR or \fB-u\fR.
98 \fB\fB-u\fR \fIdm\(mientry\fR\fR
101 Update the \fBdevice_maps\fR(4) file. This option is provided to add entries to
102 the \fBdevice_maps\fR(4) file. The \fIdm\(mientry\fR must be a complete
103 \fBdevice_maps\fR(4) file entry. The \fIdm\(mientry\fR has fields, as in the
104 \fBdevice_maps\fR file. It uses the colon (\fB:\fR) as a field separator, and
105 white space as the \fIdevice_list\fR subfield separators. The \fIdm\(mientry\fR
106 is not made if any fields are missing, or if the \fIdm\(mientry\fR would be a
107 duplicate. The default device maps file can be updated only by the super user.
116 Verbose. Print the requested entry or entries, one line per entry, on the
117 standard output. If no entries are specified, all are printed.
126 Successful completion.
149 \fB/etc/security/device_maps\fR
152 \fBdevice_maps\fR(4), \fBattributes\fR(5)