putdgrp modifies the device group table. It performs two kinds of modification. It can modify the table by creating a new device group or removing a device group. It can also change
group definitions by adding or removing a device from the group definition.
When the command is invoked with only a dgroup specification, the command adds the specified group name to the device group table if it does not already exist. If the -d option is also used with only the dgroup specification, the command deletes the group from the table.
When the command is invoked with both a dgroup and a device specification, it adds the given device name(s) to the group definition. When invoked
with both arguments and the -d option, the command deletes the device name(s) from the group definition.
When the command is invoked with both a dgroup and a device specification and the device group does not exist, it creates the group and adds the
specified devices to that new group.
|