autopush man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

autopush(1M)							  autopush(1M)

       autopush	 - manage system database of automatically pushed STREAMS mod‐


       major minor

       major minor

       manages the system database that is used for automatic configuration of
       STREAMS	devices.   The command is used in three different ways as dic‐
       tated by the and command-line options described below.

       recognizes the following command-line options and arguments:

	      Using the configuration information contained in
			     file, load the system database with the names  of
			     the  STREAMS devices and a list of modules to use
			     for each device.  When a device  is  subsequently
			     opened,  the  HP-UX  STREAMS subsystem pushes the
			     modules onto the stream for the device.

			     If appears as a file argument, uses the  standard

			     file  must	 contain one or more lines of at least
			     four fields separated by a space as shown below:

			     major minor lastminor module1 module2 ... moduleN

			     The first field major can be either an integer or
			     a	device	name.  The device name is the name for
			     the device used in the master file.  The next two
			     fields are integers.  If minor is set to −1, then
			     all minor devices for  the	 specified  major  are
			     configured	 and lastminor is ignored.  If lastmi‐
			     nor is 0, then only a single minor device is con‐
			     figured.  To  configure  a range of minor devices
			     for a major device, minor must be less then last‐
			     minor.   The  remaining field(s) list one or more
			     module names.  Each module is pushed in the order
			     specified.	 A  maximum  of	 eight	modules can be
			     pushed.  Any text after a # character in file  is
			     treated as a comment for that line only.

			     This  option  is also used to restore device con‐
			     figuration information previously removed by How‐
			     ever,  when  used	in  such  a manner, the entire
			     database is restored, not	just  the  information
			     that was previously removed.

	      Display  current configuration information from the system data‐
	      base for the
			     STREAMS device specified by the major device num‐
			     ber  (or device name for the device from the mas‐
			     ter file) and minor number.

			     If a range of minors has been previously  config‐
			     ured  then	 returns the configuration information
			     for the first minor in the range, in addition  to
			     other information.

	      Remove  configuration  information  from the system database for
			     STREAMS device specified by the major device num‐
			     ber  (or device name for the device from the mas‐
			     ter file and minor number.	 Removal is  performed
			     on the database only, not on the original config‐
			     uration file.  Therefore, the original configura‐
			     tion  can	be  restored by using the file option.
			     To permanently exclude a STREAMS device from  the
			     database,	its  information  must be removed from
			     the configuration file.

			     If minor matches the first minor of a  previously
			     configured	 range	then removes the configuration
			     information for the entire configured range.

       If the file contains:

       Then will cause and to be pushed whenever major device is  opened,  and
       and to be pushed for the first six opens of device

       This  next  example lists information about the stream for major device
       and its minor device

       NLS catalog for

       sad(7), streamio(7).


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net