1dminfo(1M)              System Administration Commands              dminfo(1M)
2
3
4

NAME

6       dminfo - report information about a device entry in a device maps file
7

SYNOPSIS

9       dminfo [-v] [-a] [-f pathname]
10
11
12       dminfo [-v] [-a] [-f pathname] -n dev -name...
13
14
15       dminfo [-v] [-a] [-f pathname] -d dev -path...
16
17
18       dminfo [-v] [-a] [-f pathname] -t dev -type...
19
20
21       dminfo [-v] [-f pathname] -u dm -entry
22
23

DESCRIPTION

25       dminfo reports and updates information about the device_maps(4) file.
26

OPTIONS

28       The following options are supported
29
30       -a                Succeed if any of the requested entries are found. If
31                         used with -v, all entries that  match  the  requested
32                         case(s) are printed.
33
34
35       -d dev−path       Search  by  dev−path.  Search  device_maps(4)  for  a
36                         device special  pathname  in  the  device_list  field
37                         matching the dev−path argument. This option cannot be
38                         used with -n, -t or -u.
39
40
41       -f pathname       Use a  device_maps  file  with  pathname  instead  of
42                         /etc/security/device_maps.
43
44
45       -n dev−name       Search  by  dev−name.  Search  device_maps(4)  for  a
46                         device_name field matching dev−name. This option can‐
47                         not be used with -d, -t or -u.
48
49
50       -t dev−type       Search  by  dev−type.  Search  device_maps(4)  for  a
51                         device_type field matching the given  dev−type.  This
52                         option cannot be used with -d, -n or -u.
53
54
55       -u dm−entry       Update  the  device_maps(4) file. This option is pro‐
56                         vided to add entries to the device_maps(4) file.  The
57                         dm−entry  must  be  a  complete  device_maps(4)  file
58                         entry. The dm−entry has fields, as in the device_maps
59                         file. It uses the colon (:) as a field separator, and
60                         white space as the device_list  subfield  separators.
61                         The  dm−entry  is not made if any fields are missing,
62                         or if the dm−entry would be a duplicate. The  default
63                         device  maps  file  can  be updated only by the super
64                         user.
65
66
67       -v                Verbose. Print the requested entry  or  entries,  one
68                         line per entry, on the standard output. If no entries
69                         are specified, all are printed.
70
71

EXIT STATUS

73       0    Successful completion.
74
75
76       1    Request failed.
77
78
79       2    Incorrect syntax.
80
81

FILES

83       /etc/security/device_maps
84

ATTRIBUTES

86       See attributes(5) for descriptions of the following attributes:
87
88
89
90
91       ┌─────────────────────────────┬─────────────────────────────┐
92       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
93       ├─────────────────────────────┼─────────────────────────────┤
94       │Availability                 │SUNWcsu                      │
95       └─────────────────────────────┴─────────────────────────────┘
96

SEE ALSO

98       bsmconv(1M), device_maps(4), attributes(5)
99

NOTES

101       The functionality described in this man page is available only  if  the
102       Solaris  Auditing  feature  has been enabled.  See bsmconv(1M) for more
103       information.
104
105
106
107SunOS 5.11                        16 Apr 2008                       dminfo(1M)
Impressum