UNIX System V (XENIX or UNIX) HOCHECK(SCO)
Name
hocheck - compares the permlist to current and past
distributions
Syntax
/usr/bin/hocheck [-cd] destination_directory permlist [
permlist(s)]
Options
-c Clean. This option causes hocheck to clean out the
directory of previous files. If this option is not
used then all the previous files are backed up by
appending them with an '-'.
-d Differentiate. This option creates the files
newdistfiles, which are brand new to this cut and
have somehow not been placed on the perms list(s).
This is done by comparing the current distfiles
with the previous distfiles. Note: this can only
be done if hocheck has been run on a previous
distribution and the destination_directory still
exists, and is used again. This option will still
work with the -c option.
Description
hocheck takes the permlist(s) given to it and systematically
goes through them, comparing the entries it finds with the
files in the distribution. Run hocheck from the root of the
distribution you want to check. hocheck stores all the
information it finds in a directory given by the user,
destination_directory. It stores the following information
in the following files:
devices Lists all the devices given in the permlists,
indicated by a file type descriptor of b or
c, and the major and minor device numbers
that are given.
distdirs Lists all the directories that are in the
distribution, but not on the permlists.
distfiles Lists all the files found in the distribution
that are not on the permlists.
empty Lists all the empty files defined on the
perms lists.
links Lists links found in the permlists.
newdistfiles Lists of files found in the distribution, but
in neither the previous distribution (as per
the last search by hocheck), nor the
permlist(s). Note: this is only created when
using the -d option.
ootdist All files in the root/boot/magic lists that
are not in the distribution.
ootperm All files in the root/boot/magic lists that
are not in the permlists.
packages Lists of all the packages found in the
permlists and what permlists they were
encountered in.
permdirs Lists all the directories in permlists, but
not distribution.
permfiles Lists all the file found in the permlists,
but not in the distribution.
Files
/usr/bin/hocheck
Notes
If any file produced by hocheck is empty then it will not be
created.
See Also
mkcuts(SCO)
(printed 5/17/90) (XENIX or UNIX) HOCHECK(SCO)