RCORDER(8) | System Manager's Manual | RCORDER(8) |
rcorder | [-k keep] [-s skip] file ... |
Each file passed to rcorder should 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 should 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:
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. A file containing no “PROVIDE”, “REQUIRE”, or “BEFORE” lines may be output at an arbitrary position in the dependency ordering.
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.
April 23, 2003 | NetBSD 6.1 |