]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Remove -rebuildDB flag to ptserver
authorRuss Allbery <rra@stanford.edu>
Wed, 26 May 2010 16:28:57 +0000 (11:28 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 26 May 2010 16:39:27 +0000 (09:39 -0700)
The -rebuildDB flag was documented to rebuild the Protection Database at
startup, but it was accepted and ignored in the ptserver source, doing
nothing.  Remove the documentation and the option recognition in ptserver.

Change-Id: I36f30f38464b602cb4739a958663a6feb5fe27bf
Reviewed-on: http://gerrit.openafs.org/2029
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
doc/man-pages/pod8/ptserver.pod
src/ptserver/ptserver.c

index e02465117e42246e823fa995ee6a7a9041e2968b..ff152c2beda413186946c16de6c45badc617ab97 100644 (file)
@@ -8,7 +8,7 @@ ptserver - Initializes the Protection Server
 <div class="synopsis">
 
 B<ptserver> S<<< [B<-database> | B<-db> <I<db path>>] >>> S<<< [B<-p> <I<number of threads>>] >>> S<<< [B<-d> <I<debug level>>] >>>
-    [B<-rebuildDB>] S<<< [B<-groupdepth> <I<# of nested groups>>] >>>
+    S<<< [B<-groupdepth> <I<# of nested groups>>] >>>
     S<<< [B<-default_access> <I<user access mask>> <I<group access mask>>] >>>
     [B<-restricted>] [B<-enable_peer_stats>]
     [B<-enable_process_stats>] [B<-allow-dotted-principals>]
@@ -90,12 +90,6 @@ Sets the number of server lightweight processes (LWPs or pthreads) to run.
 Provide a positive integer from the range C<3> to C<16>. The default
 value is C<3>.
 
-=item B<-rebuildDB>
-
-Rebuilds the Protection Database at the beginning of Protection Server
-initialization. Use this argument only in consultation with AFS
-Development or Product Support.
-
 =item B<-groupdepth> <I<# of nested groups>>, B<-depth> <I<# of nested groups>>
 
 Specifies the group depth for nested groups when B<ptserver> is compiled
index 2f4114c73645c182fb9826aa16dcd16186c1144c..8490e3b71abea2a1ad211e60e39e9a04aa070922 100644 (file)
@@ -293,10 +293,8 @@ main(int argc, char **argv)
                       lwps, 3);
                lwps = 3;
            }
-       } else if (strncmp(arg, "-rebuild", alen) == 0) /* rebuildDB++ */
-           ;
 #if defined(SUPERGROUPS)
-       else if ((strncmp(arg, "-groupdepth", alen) == 0)
+       else if ((strncmp(arg, "-groupdepth", alen) == 0)
                 || (strncmp(arg, "-depth", alen) == 0)) {
            depthsg = atoi(argv[++a]);  /* Max search depth for supergroups */
        }