Configures lists of automatically pushed STREAMS modules.
autopush -f File
autopush -r -M Major -m Minor
autopush -g -M Major -m Minor
The autopush command configures the list of modules to be automatically pushed onto the stream when a device is opened. It can also remove a previous setting or obtain information on a setting.
|-f File|| Sets up the autopush configuration for each driver according to the information stored in the specified file.
The first three fields are integers that specify the major device number, minor device number, and last minor device number. The subsequent fields represent the names of modules. If the value of the min_ field is -1, then all minor devices of a major driver specified by the maj_ field are configured and the value of the last_min_ field is ignored. If the value of the last_min_ field is 0, then only a single minor device is configured. To configure a range of minor devices for a particular major, the value of the min_ field must be less than the value of the last_min_ field.
The last fields of a line in the autopush file represent the list of module names. Each module name is separated by a character space. The maximum number of modules that can be automatically pushed on a stream is eight, and they are pushed onto the stream in the order they are listed. Comment lines start with a # (pound sign).
|-r||Removes the previous configuration setting of a particular major and minor device number.|
|-g||Obtains the current configuration setting of a particular major and minor device number. It also returns the starting minor device number if the request corresponds to a setting of a range.|
|-M Major||Specifies a major device number.|
|-m Minor||Specifies a minor device number.|
AIX provides an enhancement to the autopush command that makes it easier to specify major numbers. The name of a driver can be specified instead of its major number anywhere the major number is normally used.
|File||Contains at least the major device number, minor device number, last minor device number and modules.|
|Major||Specifies a major device number.|
|Minor||Specifies a minor device number.|
The streamio operations.
List of Streams Commands.
STREAMS Overview in AIX Communications Programming Concepts.