unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



depord(8)							    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

  -c ctrldir
      Searches the directory ctrldir for subset	*.ctrl files instead of	the
      current directory. You can use multiple -c options.

  -f [namefile|-]
      Reads the	subset names from namefile. If you use the "-" argument
      instead of namefile, read	the subset names from standard input. The
      namefile and "-" arguments to the	-f option are mutually exclusive. If
      you also specify subset names with subsetID operands, they are con-
      catenated	with the subset	names specified	with the -f option.

  -I  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.

  -i  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

  subsetID
      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 direc-
  tories for dependency	information, then sorts	the subset name	argument 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 depen-
       dency 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 mutually depen-
       dent) 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
       OSFBASE500
       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

  /usr/lbin/depord
      Executable file for depord command

  /usr/.smdb./subsetID.lk
      Indicates	subsetID is already installed.	Contents list other subsets
      dependent	upon subsetID.

  *.ctrl
      Control files with dependency information

SEE ALSO

  Commands:
      setld(8)

  Files:
      stl_ctrl(4)

  Documents:
      Programming Support Tools