9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Factotum discrepancy
@ 2010-02-25 15:22 Brian L. Stuart
  2010-02-25 15:44 ` erik quanstrom
  0 siblings, 1 reply; 2+ messages in thread
From: Brian L. Stuart @ 2010-02-25 15:22 UTC (permalink / raw)
  To: 9fans

There appears to be a disagreement between the
factotum man page and its actual behavior regarding
the -a option.  In the man page, the wording:

-a   supplies the address of the authentication server to
     use.  Without this option, it will attempt to find an
     authentication server by querying the connection
     server, the file <mtpt>/ndb, and finally the network
     database in /lib/ndb.

makes it sound like the -a option takes precedence
over cs and ndb.  But the code for _autdial() in
util.c looks for cs first and if it's there, the
-a option is ignored.  (In p9p, -a seems to be ignored
altogether.)

Which way should it be?  I'd prefer if -a took precedence,
but if the existing behavior is really what's wanted,
then I suggest we change the man page so it's more clear
that's what's happening.

BLS





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-25 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-25 15:22 [9fans] Factotum discrepancy Brian L. Stuart
2010-02-25 15:44 ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).