[1226] in Moira

home help back first fref pref prev next nref lref last post

Re: itty bitty afs resync problem

daemon@ATHENA.MIT.EDU (Karl Ramm)
Sat Dec 26 04:27:24 1998

To: Dan Winship <danw@MIT.EDU>
Cc: Karl Ramm <kcr@MIT.EDU>, bug-moira@MIT.EDU, ops@MIT.EDU
From: Karl Ramm <kcr@MIT.EDU>
Date: 26 Dec 1998 04:27:19 -0500
In-Reply-To: Dan Winship's message of Fri, 25 Dec 1998 23:05:53 EST

Ah.  That explains everything.
/mit/ops/services/moira/build/afssync/pt_util: illegal option -- h
Usage: ptdump [options] [-d data] [-p prdb]
  Options:
    -w  Update prdb with contents of data file
    -u  Display users
    -g  Display groups
    -m  Display group members
    -n  Follow name hash chains (not id hashes)
    -s  Display only system (Moira) data
    -x  Display extra users/groups
[Exit 1 ]

I had interpreted he contrast between the description of the -x and -s
options to imply that -x displayed _everything_.  Examination of he code
(tortured though it is, suggests that better descriptions would be
    -s  Do not display extra users/groups
    -x  Do not display system users/groups
But that shall be left for another day, after the resync and purge are
done.

kcr

Dan Winship <danw@MIT.EDU> writes:

> 
> pt_util has somewhere between 17 and 42 different modes, depending on
> the commandline args you give. the invocation you showed was "pull out
> weirdo entries" and is supposed to be done on the real prdb, not the
> moira-generated prdb, according to
> /mit/moiradev/src/afssync/INSTRUCTIONS.
> 
> I don't know what any of the arguments mean, and suspect it's not
> documented anywhere other than the source.
> 
> -- Dan

home help back first fref pref prev next nref lref last post