depord(8) System Manager's Manual depord(8)
NAME
depord - Sort subset names into dependency order
SYNOPSIS
/usr/lbin/depord [-c ctrldir [-c ctrldir]...] [-f [namefile | -]] [-I | -i] [subsetID [subsetID...]]
OPTIONS
Searches the directory ctrldir for subset *.ctrl files instead of the current directory. You can use multiple -c options. Reads the subset
names from namefile. If you use the "-" argument instead of namefile, read the subset names from standard input. The namefile and "-" argu-
ments to the -f option are mutually exclusive. If you also specify subset names with subsetID operands, they are concatenated with the sub-
set names specified with the -f option. Includes in the ordered output the names of all prerequisite subsets for the subset name argument
list. The -I and -i options are mutually exclusive. Includes in the ordered output the names of all prerequisite subsets for the subset
name argument list, and excludes from the output any prerequisite subsets that are already installed. The -I and -i options are mutually
exclusive.
OPERANDS
The name of a subset for dependency checking and ordering. If you also specify subset names with the -f option, they are concatenated with
subsetID operands.
DESCRIPTION
The depord command reads the subset *.ctrl files in the specified directories for dependency information, then sorts the subset name argu-
ment list (and, optionally, prerequisite subset names) in dependency order. If other directories are not specified, depord searches for
subset *.ctrl files in the current directory. If you install the subsets in the order shown in the depord output, subset dependencies are
satisfied. If you are not using either the -I or -i option and if a subset dependency cannot be satisfied by the other specified subset
names, an error message displays and that subset is not included in the output. All subsets in a dependency cycle (where subsets are mutu-
ally dependent) are ignored. An error message displays, and those subsets are not included in the output.
The depord command is used by the setld(8) utility.
EXAMPLES
To sort the subsets listed on the command line into dependency order: # /usr/lbin/depord OSFCDEDT500 OSFX11500 OSFCDEMIN500 OSFX11500
OSFCDEMIN500 OSFCDEDT500
To use the -I option to list the prerequisite subsets for OSFDCEDT500, sorted into dependency order: # /usr/lbin/depord -I OSFCDEDT500 OSF-
BASE500 OSFX11500 OSFCLINET500 OSFNFS500 OSFCDEMIN500 OSFCDEDT500
To use the -i option to check the prerequisite subsets for OSFDCEDT500, and exclude from the output those that are already installed: #
/usr/lbin/depord -i OSFCDEDT500 OSFCDEDT500
RESTRICTIONS
The -I and -i options are mutually exclusive.
FILES
Executable file for depord command Indicates subsetID is already installed. Contents list other subsets dependent upon subsetID. Control
files with dependency information
SEE ALSO
setld(8) stl_ctrl(4) Programming Support Tools
depord(8)