1 03/15/85 repair
 2 
 3 Syntax as a command:  x repair key dir nprocs {salvager_arguments}
 4 
 5 
 6 Function:  starts (or stops) a multiprocess hierarchy repair.  The
 7 repair can consist of an online directory salvage, a quota_used
 8 correction, or both.  The repair may be performed over the entire
 9 hierarchy or any subtree.  Up to 36 Salvager.SysDaemon processes may
10 participate in the repair, so that it is completed as rapidly as
11 possible.  This command should only be used at the direction of the
12 system administrator or the system programmers.
13 
14 
15 Arguments:
16 key
17    can be one of the following:
18    salv
19       performs a directory salvage
20    quota
21       performs a quota_used correction
22    salvquota
23       performs both
24    stop
25       stops a repair that is in progress
26 
27 
28 dir
29    is the directory at the top of the subtree to be repaired.
30 nprocs
31    is the number of processes to be used (1 to 36).
32 salvager_arguments
33    are arguments acceptable to the salvage_dir command.  The default is
34    the single argument, -compact.
35 
36 
37 Notes:  Any of these operations automatically collates and sorts all
38 output, and dprints the result to "SALV-OUTPUT" and "SALV-ONLINE",
39 being salvager output and online error messages and quota_corrections,
40 respectively.  The outputs are kept in the directory
41 >udd>SysDaemon>Salvager, and automatically deleted when they become two
42 weeks old.