diff options
Diffstat (limited to 'usr/src/man/man1m/getdgrp.1m')
| -rw-r--r-- | usr/src/man/man1m/getdgrp.1m | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/usr/src/man/man1m/getdgrp.1m b/usr/src/man/man1m/getdgrp.1m index 2eda9fe8a5..87f7f71a74 100644 --- a/usr/src/man/man1m/getdgrp.1m +++ b/usr/src/man/man1m/getdgrp.1m @@ -4,7 +4,7 @@ .\" 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. .\" 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. .\" 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] -.TH getdgrp 1M "5 Jul 1990" "SunOS 5.11" "System Administration Commands" +.TH GETDGRP 1M "Jul 5, 1990" .SH NAME getdgrp \- lists device groups which contain devices that match criteria .SH SYNOPSIS @@ -24,24 +24,20 @@ the given criteria. The criteria is given in the form of expressions. The following options are supported: .sp .ne 2 -.mk .na \fB\fB-a\fR\fR .ad .RS 6n -.rt Specifies that a device must match all criteria to be included in the list generated by this command. The option has no effect if no criteria are defined. .RE .sp .ne 2 -.mk .na \fB\fB-e\fR\fR .ad .RS 6n -.rt Specifies that the list of device groups on the command line should be \fIexcluded\fR from the list generated by this command. Without the \fB-e\fR option the named device groups are \fIincluded\fR in the generated list. The @@ -50,12 +46,10 @@ flag has no effect if no devices are defined. .sp .ne 2 -.mk .na \fB\fB-l\fR\fR .ad .RS 6n -.rt Specifies that all device groups (subject to the \fB-e\fR option and the \fIdgroup\fR list) should be listed even if they contain no valid device members. This option has no affect if \fIcriteria\fR is specified on the @@ -68,12 +62,10 @@ command line. The following operands are supported: .sp .ne 2 -.mk .na \fB\fIcriteria\fR\fR .ad .RS 12n -.rt Defines criteria that a device must match before a device group to which it belongs can be included in the generated list. Specify \fIcriteria\fR as an expression or a list of expressions which a device must meet for its group to @@ -89,48 +81,40 @@ There are four possible expressions types which the criteria specified in the \fIcriteria\fR argument may follow: .sp .ne 2 -.mk .na \fB\fIattribute\fR\fB=\fR\fIvalue\fR\fR .ad .RS 20n -.rt Selects all device groups with a member whose attribute \fIattribute\fR is defined and is equal to \fIvalue\fR. .RE .sp .ne 2 -.mk .na \fB\fIattribute\fR\fB!=\fR\fIvalue\fR\fR .ad .RS 20n -.rt Selects all device groups with a member whose attribute \fIattribute\fR is defined and does not equal \fIvalue\fR. .RE .sp .ne 2 -.mk .na \fB\fIattribute\fR\fB:*\fR\fR .ad .RS 20n -.rt Selects all device groups with a member which has the attribute \fIattribute\fR defined. .RE .sp .ne 2 -.mk .na \fB\fIattribute\fR\fB!:*\fR\fR .ad .RS 20n -.rt Selects all device groups with a member which does not have the attribute \fIattribute\fR defined. .RE @@ -141,12 +125,10 @@ attributes. .sp .ne 2 -.mk .na \fB\fIdgroup\fR\fR .ad .RS 12n -.rt Defines a set of device groups which should be included in or excluded from the generated list. Device groups that are defined and which contain devices matching the criteria are included. @@ -163,58 +145,48 @@ which match the criteria and are not in the command line list. The following exit values are returned: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt Successful completion of the task. .RE .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt Command syntax was incorrect, invalid option was used, or an internal error occurred. .RE .sp .ne 2 -.mk .na \fB\fB2\fR\fR .ad .RS 5n -.rt Device table or device group table could not be opened for reading. .RE .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/device.tab\fR\fR .ad .RS 19n -.rt .RE .sp .ne 2 -.mk .na \fB\fB/etc/dgroup.tab\fR\fR .ad .RS 19n -.rt .RE |
