*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> autopush (1)              
Title
Content
Arch
Section
 

Contents


autopush(1M)							  autopush(1M)


NAME    [Toc]    [Back]

     autopush -	configure lists	of automatically pushed	STREAMS	modules

SYNOPSIS    [Toc]    [Back]

     autopush -f file
     autopush -r -M major -m minor
     autopush -g -M major -m minor

DESCRIPTION    [Toc]    [Back]

     autopush allows you 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 setting.

     The following options apply to autopush:

     -f	file   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  last_min	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 last_min is
	       ignored.	 If last_min 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 last_min.

	       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	       Remove 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
	       configuration would be removed for the entire range.

     -g	       Get the current configuration setting of	a particular major and
	       minor device number specified with the -M and -m	options,
	       respectively.  It also returns the starting minor device	number
	       if the request corresponds to a setting of a range (as
	       described with the -f option).





									Page 1






autopush(1M)							  autopush(1M)


SEE ALSO    [Toc]    [Back]

      
      
     streamio(7).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
autopush Tru64 Manages the system's database of automatically pushed STREAMS modules
autopush HP-UX manage system database of automatically pushed STREAMS modules
aclocal Linux automatically generate aclocal.m4 from configure.in
strmod_add Tru64 Add STREAMS modules and drivers
strmod_del Tru64 Delete STREAMS modules and drivers
nstrpush HP-UX maximum number of STREAMS modules in a single stream
NSTRPUSH HP-UX maximum number of STREAMS modules in a single stream
ifnet Tru64 STREAMS ifnet module for bridging STREAMS device drivers to sockets
dlb Tru64 STREAMS pseudodevice driver for bridging BSD Drivers to STREAMS
dlpi Tru64 STREAMS pseudodevice driver for bridging BSD Drivers to STREAMS
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service