Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ autopush(1M) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

streamio(7)

autopush(1M)                                                   autopush(1M)

NAME
     autopush - configure lists of automatically pushed STREAMS modules

SYNOPSIS
     autopush -f file

     autopush -r -M major -m minor

     autopush -g -M major -m minor

DESCRIPTION
     This command allows one to configure the list of modules to be
     automatically pushed onto the stream when a device is opened. It can
     also be used to remove a previous setting or get information on a set-
     ting.

OPTIONS
     -f   This option sets up the autopush configuration for each driver
          according to the information stored in the specified file. An
          autopush file consists of lines of at least four fields each
          where the fields are separated by a space as shown below:

          maj  min  lastmin  mod1 mod2 ... modn

          The first three fields are integers that specify the major device
          number, minor device number, and last minor device number. The
          fields following represent the names of modules. If min is -1,
          then all minor devices of a major driver specified by maj are
          configured and the value for lastmin is ignored. If lastmin
          is 0, then only a single minor device is configured. To configure
          a range of minor devices for a particular major, min must be
          less than lastmin.

          The last fields of a line in the autopush file represent the list
          of module names where each is separated by a space. The maximum
          number of modules that can be automatically pushed on a stream is
          defined to be eight. The modules are pushed in the order they are
          specified. Comment lines start with a # sign.

     -r   This option removes the previous configuration setting of the
          particular major and minor device number specified with the -M
          and -m options respectively. If the values of major and minor
          correspond to a setting of a range of minor devices, where minor
          matches the first minor device number in the range, the confi-
          guration would be removed for the entire range.

     -g   This option gets the current configuration setting of a particu-
          lar major and minor device number specified with the -M and -m
          options respectively. It will also return the starting minor
          device number if the request corresponds to a setting of a range
          (as described with the -f option).




Page 1                       Reliant UNIX 5.44                Printed 11/98

autopush(1M)                                                   autopush(1M)

SEE ALSO
     streamio(7).




















































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026