'\" .\" @(#)regcheck.1m 1.2 01 Oct 1998 SMI .\" Copyright (c) 1999, Sun Microsystems, Inc. .\" All Rights Reserved .\" Copyright (c) AT&T 1997. All rights reserved. .\" @(#)regcheck.rof 1.2 1/31/97 .TH regcheck 1m "24 Sept 1998" .if n .tr \-- .SH "NAME" regcheck - enumerates all of the keys in the Registry, dumps the contents of the Registry, checks and repairs the Registry. .SH SYNOPSIS .ft4 .nf regcheck -E | -D | -C | -R [ -L ] .SH DESCRIPTION The regcheck command is used to enumerate all of the keys in the Registry. It also can be used to dump the entire Registry for diagnostic purposes. If the internal format of the Registry becomes corrupt, it can be repaired. .SH OPTIONS .SS -C Checks the Registry file. .SS -D Dumps the entire Registry in detail. .SS -E Enumerates the full paths of all Registry keys. .SS -R Checks and repairs the Registry file. .SS -L Locks the Registry while performing a specified action. .SH NOTES This command must be run as root. .sp .5 The check (-C) and repair (-R) options only check and repair the internal format of the Registry. No checking is performed on the validity of any of the data stored in the Registry. .sp .5 The dump (-D) option outputs an exceptionally large amount of data, including information about the internal format of the Registry. This output is intended for diagnostic operations performed by product support personnel who have access to source code for the Registry. It is not intended for use by system administrators. .sp .5 By default, the check (-C), dump (-D), and enumerate (-E) options do not lock the Registry. The advantage of this is that these commands can be executed without blocking SunLink Server if it is running. The disadvantage of this is that if SunLink Server modifies the Registry while a command with one of these options is being executed, the Registry may appear to be inconsistent. If the locking (-L) option is specified, commands containing the check, repair, and enumerate options are guaranteed to see a consistent snapshot of the Registry. However, SunLink Server will not be able to access the Registry while a command with the locking option is being executed. .sp .5 The repair (-R) option performs locking by default and thus is unaffected by the locking (-L) option.