HPlogo STREAMS/UX for the HP 9000 Reference Manual > Chapter 3 Differences Between STREAMS/UX and System V Release 4 STREAMS

HP-UX Changes to STREAMS/UX Commands

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

STREAMS/UX supports the commands listed below:

  • autopush

  • fdetach

  • strace

  • strchg

  • strclean

  • strconf

  • strerr

  • strvf

HP versions of supported STREAMS/UX commands operate somewhat differently from the way the commands are described in the UNIX SVR4.2 Command Reference manual. NLS catalogs exist for the commands. The catalogs are called autopush.cat, fdetach.cat, strace.cat, strchg.cat, strclean.cat, strconf.cat, strerr.cat, and strvf.cat and are located in the /usr/lib/nls/C directory. Differences in the commands are described below.

autopush

The syntax for the autopush command on HP-UX is as follows:

autopush   -f   autopush_file_name
autopush -r -M major_num|dev_name -m minor_num
autopush -g -M major_num|dev_name -m minor_num

autopush_file_name contents:
major_num|dev_name low_minor high_minor mod_name 1...mod_name N

The HP-UX autopush command has been enhanced to allow the user to specify the device name in place of the major number, which is recommended since HP-UX provides dynamic major numbers. The name can be specified in the autopush file and on the command line. Device names are located in the HP-UX master files. The major number can still be used if needed.

strace and strerr

The strace and strerr commands use the STREAMS log driver,
/dev/strlog
. SVR4.2 calls this driver /dev/log, but HP-UX already includes a non-streams driver named /dev/log.

© 1995 Hewlett-Packard Development Company, L.P.