293 useradd/del/mod should be ZFS-aware
[illumos-gate.git] / usr / src / man / man1m / listdgrp.1m
blob19155b1d56d20b20361fcde99f69bf258a1ecce1
1 '\" te
2 .\"  Copyright 1989 AT&T  Copyright (c) 1997 Sun Microsystems, Inc.  All Rights Reserved.
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 LISTDGRP 1M "Jul 5, 1990"
7 .SH NAME
8 listdgrp \- lists members of a device group
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/bin/listdgrp\fR \fIdgroup\fR...
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 \fBlistdgrp\fR displays the members of the device groups specified by the
19 \fIdgroup\fR list.
20 .SH EXAMPLES
21 .LP
22 \fBExample 1 \fRAn example of \fBlistdgrp\fR.
23 .sp
24 .LP
25 The following example lists the devices that belong to group \fBpartitions\fR:
27 .sp
28 .in +2
29 .nf
30 example% listdgrp partitions
31              root
32              swap
33              usr
34 .fi
35 .in -2
36 .sp
38 .SH EXIT STATUS
39 .sp
40 .LP
41 The following exit values are returned:
42 .sp
43 .ne 2
44 .na
45 \fB\fB0\fR\fR
46 .ad
47 .RS 5n
48 Successful completion.
49 .RE
51 .sp
52 .ne 2
53 .na
54 \fB\fB1\fR\fR
55 .ad
56 .RS 5n
57 Command was syntax incorrect, an invalid option used, or an internal error
58 occurred.
59 .RE
61 .sp
62 .ne 2
63 .na
64 \fB\fB2\fR\fR
65 .ad
66 .RS 5n
67 A device group table could not be opened for reading.
68 .RE
70 .sp
71 .ne 2
72 .na
73 \fB\fB3\fR\fR
74 .ad
75 .RS 5n
76 A device group \fIdgroup\fR could not be found in the device group table.
77 .RE
79 .SH FILES
80 .sp
81 .ne 2
82 .na
83 \fB\fB/etc/dgroup.tab\fR\fR
84 .ad
85 .RS 19n
86 Device group table.
87 .RE
89 .SH SEE ALSO
90 .sp
91 .LP
92 \fBputdgrp\fR(1M), \fBattributes\fR(5)