IPB
>  Man Pages > Unix > FreeBSD 6.2 > Section 8 > rcorder man page

rcorder man page

Section 8 - FreeBSD 6.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


RCORDER(8)              FreeBSD System Manager's Manual             RCORDER(8)


NAME

     rcorder -- print a dependency ordering of interdependent files


SYNOPSIS

     rcorder [-k keep] [-s skip] file ...


DESCRIPTION

     The rcorder utility is designed to print out a dependency ordering of a
     set of interdependent files.  Typically it is used to find an execution
     sequence for a set of shell scripts in which certain files must be exe-
     cuted before others.

     Each file passed to rcorder must be annotated with special lines (which
     look like comments to the shell) which indicate the dependencies the
     files have upon certain points in the sequence, known as ``conditions'',
     and which indicate, for each file, which ``conditions'' may be expected
     to be filled by that file.

     Within each file, a block containing a series of ``REQUIRE'',
     ``PROVIDE'', ``BEFORE'' and ``KEYWORD'' lines must appear.  The format of
     the lines is rigid.  Each line must begin with a single `#', followed by
     a single space, followed by ``PROVIDE:'', ``REQUIRE:'', ``BEFORE:'', or
     ``KEYWORD:''.  No deviation is permitted.  Each dependency line is then
     followed by a series of conditions, separated by whitespace.  Multiple
     ``PROVIDE'', ``REQUIRE'', ``BEFORE'' and ``KEYWORD'' lines may appear,
     but all such lines must appear in a sequence without any intervening
     lines, as once a line that does not follow the format is reached, parsing
     stops.

     The options are as follows:

     -k      Add the specified keyword to the ``keep list''.  If any -k option
             is given, only those files containing the matching keyword are
             listed.

     -s      Add the specified keyword to the ``skip list''.  If any -s option
             is given, files containing the matching keyword are not listed.

     An example block follows:

           # REQUIRE: networking syslog
           # REQUIRE: usr
           # PROVIDE: dns nscd

     This block states that the file in which it appears depends upon the
     ``networking'', ``syslog'', and ``usr'' conditions, and provides the
     ``dns'' and ``nscd'' conditions.

     A file may contain zero ``PROVIDE'' lines, in which case it provides no
     conditions, and may contain zero ``REQUIRE'' lines, in which case it has
     no dependencies.  There must be at least one file with no dependencies in
     the set of arguments passed to rcorder in order for it to find a starting
     place in the dependency ordering.


DIAGNOSTICS

     The rcorder utility may print one of the following error messages and
     exit with a non-zero status if it encounters an error while processing
     the file list.

     Requirement %s has no providers, aborting.  No file has a ``PROVIDE''
     line corresponding to a condition present in a ``REQUIRE'' line in
     another file.

     Circular dependency on provision %s, aborting.  A set of files has a cir-
     cular dependency which was detected while processing the stated condi-
     tion.

     Circular dependency on file %s, aborting.  A set of files has a circular
     dependency which was detected while processing the stated file.


SEE ALSO

     rc(8)


HISTORY

     The rcorder utility first appeared in NetBSD 1.5.


AUTHORS

     Written by Perry E. Metzger <perry@piermont.com> and Matthew R. Green
     <mrg@eterna.com.au>.

FreeBSD 6.2                      July 17, 2000                     FreeBSD 6.2


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 19 20:35:53 BST 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

sqlite3 man page (5334 hits)
(openSUSE 10.2)

svn man page (5208 hits)
(FreeBSD 6.2)

adv_cap_autoneg man page (4870 hits)
(Solaris 10 11_06)

CPAN man page (4607 hits)
(Suse Linux 10.1)

ssh man page (4342 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (2874 hits)
(Solaris 10 11_06)

netcat man page (2717 hits)
(Suse Linux 10.1)

pprosetup man page (2487 hits)
(Solaris 10 11_06)

startproc man page (2471 hits)
(Suse Linux 10.1)

signal man page (2406 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Mountain Holidays Contact Us :: Electronic Design Bedfordshire :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum