listdgrp(1M)


listdgrp -- list members of a device group

Synopsis

listdgrp dgroup

Description

listdgrp displays the members of the device group specified by dgroup.

Files

/etc/dgroup.tab

Return values

On success, listdgrp exits with the value 0. On failure, it returns one of the following values:

1
Command syntax incorrect, invalid option used, or internal error occurred.

2
Device group table could not be opened for reading.

3
Device group dgroup could not be found in the device group table.

Examples

To list the devices that belong to the hypothetical group partitions:
   $ listdgrp partitions
   root
   swap
   usr

References

putdgrp(1M)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004