Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ comply(8) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bom(5)

cron(8)

stat(2)



COMPLY(8)               COMMAND REFERENCE               COMPLY(8)



NAME
     comply - check files against specification

SYNOPSIS
     comply [ -D ][ -R ][ -S ][ -c comment_char ][ -d field_delim
     ][ -e ][ -f ][ -g grpfile ][ -h ][ -l ][ -m ][ -p passwdfile
     ][ -r pseudoroot ][ -v ] specification_file ...

DESCRIPTION
     Comply checks files in the filesystem against a thoses
     listed in the specification file.  One or more specification
     files can be placed on the command line.  Briefly, each line
     of the specification file is a description about a certain
     file in the filesystem.  The specification contains the
     information about the name of the file in the filesystem,
     who owns the file (owner), the group ownership, the file
     type, the major/minor device numbers if it is a device, the
     permission mode, the size in bytes, the hard link count, the
     RCS revision number, the checksum, and the symbolic link
     target if the file is a symbolic link are checked.  See
     bom(5) for details of file format.  Whenever a match does
     not occur an error is printed.  If the -f option is used,
     comply will attempt to fix the filesystem version of the
     file to match the specification.

     Users may use comply to check their file protection modes.
     Additionally, for system files, comply is recommended to be
     run from the initialization process through the file /etc/rc
     (see init(8) and rc(8)), or periodically by cron(8).

OPTIONS
     -C  Causes checking of checksums on regular files and
         directories.

     -D  Causes checking of major/minor numbers on devices.

     -R  Causes checking of RCS identification numbers on regular
         files.

     -S  Causes checking of sizes on regular files and
         directories.

     -c comment_char
         Changes the comment character interpretation in the
         specification file to comment_char (default is % ).

     -d field_delim
         Changes the field deliminter character interpretation in
         the specification file to field_delim. (default is TAB
         ).

     -e  Causes comply to do only an existence check of the



Printed 10/17/86                                                1





COMPLY(8)               COMMAND REFERENCE               COMPLY(8)



         files. It does NOT check file type, owner, links, size,
         etc..

     -f  Causes comply to try to fix the filesystem according to
         the specification file (i.e.  change owner) if it can.
         In addition, comply will create missing zero length
         files, missing directories, and symbolic links as
         necessary.

     -g grpfile
         Use grpfile as the group file for checking (default is
         /etc/group ).

     -h  Causes only a help message to be printed.  No other
         action will be taken no matter what other options are
         specified.

     -l  Check that the file hard link count is `greater than or
         equal' to the one in the specification, rather than
         exactly `equal'.

     -m  Check that the file mode is `greater' than the one in
         the specification, rather than exactly `equal'.

     -p passwdfile
         Use passwdfile as the password file for checking
         (default is /etc/passwd ).

     -r pseudoroot
         Prepend pseudoroot to each file name being checked.
         (Default is null).

     -v  Prints all errors encountered. (verbose).  In addition,
         this prints all comment lines from the beginning of the
         specification file upto the first non-comment line.

RETURN VALUE
     [0]            No errors occurred.

     [1]            Errors occurred.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [NP_ERR]       An error occurred that was not a system
                    error.  Execution terminated.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.





Printed 10/17/86                                                2





COMPLY(8)               COMMAND REFERENCE               COMPLY(8)



CAVEATS
     Comply is unable to fix hard link counts, RCS ids, and
     checksums.  Nor is it currently able to create devices.

SEE ALSO
     bom(5), cron(8), stat(2).

















































Printed 10/17/86                                                3





































































%%index%%
na:72,78;
sy:150,577;
de:727,1395;
op:2122,925;3191,1649;
rv:4840,537;
ca:5521,208;
se:5729,156;
%%index%%000000000130

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026