listdgrp(ADM)


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(ADM)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005