


The "-check" option of vutil tests a file for internal consistency. The command is:
vutil -check [ -afkq ] [ files ]
With no options, it reads a list of files from the standard input and tests each one for a non-zero user count and other quickly tested errors. Files with errors or a non-zero user count are listed. You may place the list of files to check on the command line instead of using the standard input.
-a Test each file having a non-zero user count.
-f Test all files.
-k keynum Read the file sequentially in the order of the specified key. "0"
means primary key; "1" means first alternate, and so forth.
-q Exit if user interaction is required.
Status returned from "vutil -check":
0 File checked out fine.
1 Check not fully performed because
file is in use.
2 Non-zero user count found.
3 File is corrupt.
99 User interaction was required, and the "q" switch was set.
255 vutil fatal error or incorrect
command line.
If more than one file is checked, the highest status value that applies is returned.