Re: [Integrit-users] problem with conf file
Brought to you by:
ecashin
From: Ed L C. <ec...@ug...> - 2003-09-02 15:03:09
|
int...@tt... writes: > Hi List, > > First off, to the developers who read this - thanks. I've been using > integrit for 2 years and I think it does the job great. Its saved my > skin more than once. Great! > Now I'm starting to use it to detect file system corruption instead of > for security. At the moment I just want to check one directory on this > huge drive. The directory contains 4000 files, and are about 12MB > each, for a total of 46GB of data. > > I'm only interested in looking at the md5sum at the moment, and > things were taking a long time. Anyway - I've tried to edit the > config file so that it in effect does nothing (by turning off all > flags). It still takes a long time to run[2] - why? > > Heres my config for integrit 2.01: That version is a bit old. I had to check the Changes file to remind myself of what it was like. > > ---- > root=/mighty/files > current=/nutter/data/perl/localintegrit/mighty.current.db > known=/nutter/data/perl/localintegrit/mighty.known.db > > /mighty/files SIPLUGZAMCR #shouldn't this turn off all checking? It turns off all the operations. The prefixes control which files integrit visits, like ! and =. > ---- > > Another question. I want to use the latest integrit - but I've got a > load of scripts in place to do the work and I'm wondering if the > interface or behaviour has changed at all. I've read the changelog and > can't find anything - but it can't hurt to ask! Did you read the "Changes" file? It should have everything significant, including points where the version number changed. I think the main thing is that the exit status behavior changed. It used to use zero if no errors occured and 1 if an error occured, where an error means integrit was unable to do its job. Now the exit status is (from texinfo docs): `0' When integrit returns zero to the process that started integrit, it means that no changes were detected. (Unless you are doing a check, no changes will be detected.) `1' An exit status of one means that changes were detected but no errors were encountered. (An error is a failure condition that prevents integrit from doing its job.) `2' Two signifies that an error occured, and integrit was not able to do its job. -- --Ed L Cashin | PGP public key: ec...@ug... | http://noserose.net/e/pgp/ |