[2940] in Release_7.7_team

home help back first fref pref prev next nref lref last post

stats checker

daemon@ATHENA.MIT.EDU (Robert A Basch)
Thu Sep 13 18:49:26 2001

Message-Id: <200109132249.SAA29585@anhedonia.mit.edu>
To: release-team@MIT.EDU
Date: Thu, 13 Sep 2001 18:49:23 -0400
From: Robert A Basch <rbasch@MIT.EDU>

I wrote a program to check a stats file (i.e. the input to our OS
checker on Sun and SGI) against the master hierarchy (either /os
or the machine-dependent hierarchy under /install/oscheck/mach).
checkstats performs the following checks, reporting any discrepancies:

1) For a regular file, checkstats checks if the file can be opened in
the master hierarchy, and if the file's size matches what is recorded
in the stats file.

2) For a symbolic link, if the link is to a file in /os, it checks if
the linked-to file exists, i.e. that it is not a dangling link.

Note that reported discrepancies may be the result of an installation
problem in the vendor package, and the only feasible recourse may
be to add the file to the exceptions list in the install volume.

I put the program in the tools directory in the install locker; the
README has usage and other info.  I also wrote a shell script,
statscheck.sh, as a convenient wrapper for checkstats.  It runs
checkstats for all stats files for the current machine type (i.e.
sun or sgi).

[I have used the program to check our existing stats files, and it
turned up some problems, which Miki and I will be investigating.]

Bob

home help back first fref pref prev next nref lref last post