string(M)

string(M)


string -- access boot, configuration, or package string

Description

There are three string devices (the number in the first column is the string device's minor device number):
 1  /dev/string/boot   read/write access to the bootstring
 2  /dev/string/pkg    read-only access to the package string
 3  /dev/string/cfg    read-only access to the configuration string
The bootstring (bootstring) is the string built by /boot from user input and from /etc/default/boot. The package string (pkgstring) lists what has been linked into the kernel at boot time. The configuration string (cfgstring) is a concatenation of all the output from printcfg(D3oddi).

The routines getbsvalue(D3oddi), getbsflag(D3oddi) and getbsword(D3oddi) provide an interface to /dev/string/boot and /dev/string/pkg. /dev/string/cfg can only be accessed directly.

Reading from the devices is non-blocking and non-destructive.

See also

boot(HW), close(S), getbsflag(D3oddi), getbsvalue(D3oddi), getbsword(D3oddi), open(S), printcfg(D3oddi), read(S), write(S)

For more information about kernel debugging, see the UnixWare 7 and OpenServer Hardware and Driver Development Web Page (www.sco.com/hdk).

Standards conformance

/dev/string is not part of any currently supported standard; it is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.

SCO OpenServer Release 5.0.6 -- 1 August 2000