IDADDLD(ADM) UNIX System V
Name
idaddld - add or remove line disciplines from kernel
configuration files
Syntax
/etc/conf/bin/idaddld [-a name routine1 ... routine8] [-dc
name]
Description
idaddld is used to add or remove line discipline
declarations from kernel configuration files. If no
arguments are given then idaddld enters an interactive mode.
In this mode the user can add, delete or view the current
configuration. If a change is specified then the user is
prompted to relink the kernel. If arguments are given on
the command line then idaddld enters a non-interactive mode
executing the specified command silently. It is the
responsibility of the calling program to insure the kernel
is relinked to effect the desired changes.
Options
The following options are available from the command line.
-a prefix routine1 ... routine8
Add a line discipline to configuration files. Prefix
is a tag used to identify the line discipline for
future inquiries or removal. For example, the terminal
line discipline uses the prefix tty. Routine1 through
routine8 define the list of line discipline routines.
There must be eight routines with the keyword "nulldev"
used as a placeholder. The order of the routines is
critical. They must be ordered as follows:
open close read write ioctl rxint txint modemint
-d prefix
Remove the line discipline whose identifier matches
prefix.
-c prefix
Scan the line discipline switch table for an entry
which matches prefix. The program will exit with a
return status 0 if a match is found and 1 otherwise.
Notes
When a line discipline is added, it is appended to the
current switch table configuration.
Value Added
idaddld is an extension of AT&T System V provided by the
Santa Cruz Operation.
(printed 4/27/90) IDADDLD(ADM)