STREAMS-UX Programmer's Guide (February 2007)

Differences Between STREAMS/UX and System V Release 4 STREAMS
HP-UX Changes to STREAMS Commands
Appendix E
256
HP-UX Changes to STREAMS Commands
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:
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. 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. Since HP-UX already includes a non-streams driver named /dev/log the streams log driver has
been renamed as /dev/strlog.