update
diff --git a/man/man1/INDEX b/man/man1/INDEX
index d5fb942..489bb07 100644
--- a/man/man1/INDEX
+++ b/man/man1/INDEX
@@ -108,6 +108,13 @@
mk9660 mk9660.1
mkdir mkdir.1
namespace namespace.1
+ndb ndb.1
+ndbipquery ndb.1
+ndbmkdb ndb.1
+ndbmkhash ndb.1
+ndbmkhosts ndb.1
+ndbquery ndb.1
+netkey netkey.1
news news.1
p p.1
img page.1
@@ -147,8 +154,9 @@
samterm sam.1
scat scat.1
aescbc secstore.1
-ipso secstore.1
secstore secstore.1
+secstored secstored.1
+secuser secstored.1
sed sed.1
seq seq.1
sleep sleep.1
@@ -164,6 +172,7 @@
sha1sum sum.1
sum sum.1
tail tail.1
+tar tar.1
tbl tbl.1
tcs tcs.1
tee tee.1
diff --git a/man/man1/ndb.1 b/man/man1/ndb.1
index a3cd5f4..b37509c 100644
--- a/man/man1/ndb.1
+++ b/man/man1/ndb.1
@@ -26,7 +26,7 @@
(see
.IR authsrv (3))
and
-.I secstored (1).
+.IR secstored (1).
.PP
.I Ndbquery
searches the database for an attribute of type
@@ -46,7 +46,7 @@
uses
.I ndbipinfo
(see
-.IR ndb (2))
+.IR ndb (3))
to search for the values of the attributes
.I rattr
corresponding to the system
diff --git a/man/man1/secstore.1 b/man/man1/secstore.1
index 7df2a18..04b29d3 100644
--- a/man/man1/secstore.1
+++ b/man/man1/secstore.1
@@ -97,7 +97,7 @@
.B -n
says that the password should be read from NVRAM
(see
-.IR authsrv (2))
+.IR authsrv (3))
instead of from
.BR /dev/tty .
.PP
diff --git a/man/man1/secstored.1 b/man/man1/secstored.1
index 655cca8..b43e1c4 100644
--- a/man/man1/secstored.1
+++ b/man/man1/secstored.1
@@ -1,4 +1,4 @@
-.TH SECSTORED 8
+.TH SECSTORED 1
.SH NAME
secstored, secuser \- secstore commands
.SH SYNOPSIS
diff --git a/man/man1/tar.1 b/man/man1/tar.1
index 835957f..4a18d6c 100644
--- a/man/man1/tar.1
+++ b/man/man1/tar.1
@@ -152,15 +152,17 @@
.SH SOURCE
.B \*9/src/cmd/tar.c
.SH SEE ALSO
-.IR ar (1),
+.I 9ar
+in
+.IR 9c (1),
.IR bundle (1)
.SH BUGS
There is no way to ask for any but the last
occurrence of a file.
-.br
+.PP
File path names are limited to
100 characters
(256 when using ustar format).
-.br
+.PP
The tar format allows specification of links and symbolic links,
concepts foreign to Plan 9: they are ignored.
diff --git a/man/man3/9pclient.3 b/man/man3/9pclient.3
index 36b17e0..4d685d7 100644
--- a/man/man3/9pclient.3
+++ b/man/man3/9pclient.3
@@ -1,6 +1,6 @@
.TH 9PCLIENT 3
.SH NAME
-CFid, CFsys, fsinit, fsmount, fsroot, fssetroot, fsunmount, nsmount, fsversion, fsauth, fsattach, fsclose, fscreate, fsdirread, fsdirreadall, fsdirstat, fsdirfstat, fsdirwstat, fsdirfwstat, fsopen, fsopenfd, fspread, fspwrite, fsread, fsreadn, fsseek, fswrite \- 9P client library
+CFid, CFsys, fsinit, fsmount, fsroot, fssetroot, fsunmount, nsinit, nsmount, fsversion, fsauth, fsattach, fsclose, fscreate, fsdirread, fsdirreadall, fsdirstat, fsdirfstat, fsdirwstat, fsdirfwstat, fsopen, nsopen, fsopenfd, fspread, fspwrite, fsread, fsreadn, fsseek, fswrite \- 9P client library
.SH SYNOPSIS
.B #include <u.h>
.PP
diff --git a/man/man3/INDEX b/man/man3/INDEX
index a2e4abd..b64cc21 100644
--- a/man/man3/INDEX
+++ b/man/man3/INDEX
@@ -79,11 +79,14 @@
fsread 9pclient.3
fsreadn 9pclient.3
fsroot 9pclient.3
+fsseek 9pclient.3
fssetroot 9pclient.3
fsunmount 9pclient.3
fsversion 9pclient.3
fswrite 9pclient.3
+nsinit 9pclient.3
nsmount 9pclient.3
+nsopen 9pclient.3
Dx addpt.3
Dy addpt.3
Pt addpt.3
@@ -165,6 +168,42 @@
strtoll atof.3
strtoul atof.3
strtoull atof.3
+amount_getkey auth.3
+auth auth.3
+auth_allocrpc auth.3
+auth_challenge auth.3
+auth_chuid auth.3
+auth_freeAI auth.3
+auth_freechal auth.3
+auth_freerpc auth.3
+auth_getinfo auth.3
+auth_getkey auth.3
+auth_getuserpasswd auth.3
+auth_proxy auth.3
+auth_respond auth.3
+auth_response auth.3
+auth_rpc auth.3
+auth_userpasswd auth.3
+fauth_proxy auth.3
+fsamount auth.3
+fsauth_proxy auth.3
+fsfauth_proxy auth.3
+nsamount auth.3
+_asgetticket authsrv.3
+_asrdresp authsrv.3
+authdial authsrv.3
+authsrv authsrv.3
+convA2M authsrv.3
+convM2A authsrv.3
+convM2PR authsrv.3
+convM2T authsrv.3
+convM2TR authsrv.3
+convPR2M authsrv.3
+convT2M authsrv.3
+convTR2M authsrv.3
+nvcsum authsrv.3
+passtokey authsrv.3
+readnvram authsrv.3
bin bin.3
binalloc bin.3
binfree bin.3
@@ -334,6 +373,9 @@
enc64 encode.3
encode encode.3
encodefmt encode.3
+decrypt encrypt.3
+encrypt encrypt.3
+netcrypt encrypt.3
errstr errstr.3
rerrstr errstr.3
werrstr errstr.3
@@ -813,6 +855,28 @@
isInf nan.3
isNaN nan.3
nan nan.3
+ipattr ndb.3
+ndb ndb.3
+ndbcat ndb.3
+ndbchanged ndb.3
+ndbclose ndb.3
+ndbconcatenate ndb.3
+ndbdiscard ndb.3
+ndbfindattr ndb.3
+ndbfree ndb.3
+ndbgetipaddr ndb.3
+ndbgetval ndb.3
+ndbgetvalue ndb.3
+ndbhash ndb.3
+ndbipinfo ndb.3
+ndblookval ndb.3
+ndbopen ndb.3
+ndbparse ndb.3
+ndbreopen ndb.3
+ndbreorder ndb.3
+ndbsearch ndb.3
+ndbsnext ndb.3
+ndbsubstitute ndb.3
needstack needstack.3
atnotify notify.3
noted notify.3
@@ -928,6 +992,7 @@
RGB readcolmap.3
readcolmap readcolmap.3
writecolmap readcolmap.3
+readcons readcons.3
regcomp regexp.3
regcomplit regexp.3
regcompnl regexp.3
@@ -1076,6 +1141,7 @@
uninstallsubfont subfont.3
writesubfont subfont.3
sysfatal sysfatal.3
+syslog sysfatal.3
alt thread.3
chancreate thread.3
chanfree thread.3
diff --git a/man/man3/auth.3 b/man/man3/auth.3
index 50620cc..2418982 100644
--- a/man/man3/auth.3
+++ b/man/man3/auth.3
@@ -1,6 +1,6 @@
.TH AUTH 3
.SH NAME
-auth_proxy, fauth_proxy, auth_allocrpc, auth_freerpc, auth_rpc, auth_getkey, amount_getkey, auth_freeAI, auth_chuid, auth_challenge, auth_response, auth_freechal, auth_respond, auth_userpasswd, auth_getuserpasswd, auth_getinfo\- routines for authenticating users
+auth_proxy, fauth_proxy, auth_allocrpc, auth_freerpc, auth_rpc, auth_getkey, amount_getkey, auth_freeAI, auth_chuid, auth_challenge, auth_response, auth_freechal, auth_respond, auth_userpasswd, auth_getuserpasswd, auth_getinfo, fsauth_proxy, fsfauth_proxy, fsamount, nsamount\- routines for authenticating users
.SH SYNOPSIS
.nf
.PP
@@ -80,6 +80,14 @@
#include <9pclient.h>
.PP
.B
+AuthInfo* fsauth_proxy(CFid *fid, AuthGetkey *getkey, char *fmt, ...);
+.PP
+.B
+AuthInfo* fsfauth_proxy(CFid *fid, AuthRpc *rpc, AuthGetkey *getkey,
+.br
+.B char *params);
+.PP
+.B
CFsys* fsamount(int fd, char *aname);
.PP
.B
@@ -204,7 +212,7 @@
An
.B sprint
(see
-.IR print (2))
+.IR print (3))
of
.I fmt
and the variable arg list yields a key template (see
@@ -400,6 +408,19 @@
.I auth_freechal
frees a challenge/response state.
.PP
+.I Fsauth_proxy
+and
+.I fsfauth_proxy
+are like
+.I auth_proxy
+and
+.I fauth_proxy
+but execute the protocol on a
+.B CFid*
+(see
+.IR 9pclient (3))
+instead of a file descriptor.
+.PP
.I Fsamount
and
.I nsamount
diff --git a/man/man3/authsrv.3 b/man/man3/authsrv.3
index a8d6b5e..6b64ed8 100644
--- a/man/man3/authsrv.3
+++ b/man/man3/authsrv.3
@@ -133,8 +133,8 @@
\- the partition named by the
.B $nvram
environment variable
-(commonly set via
-.IR plan9.ini (8))
+.\" (commonly set via
+.\" .IR plan9.ini (8))
.br
\- the partition
.B #S/sdC0/nvram
diff --git a/man/man3/encrypt.3 b/man/man3/encrypt.3
index 213f81d..1f44689 100644
--- a/man/man3/encrypt.3
+++ b/man/man3/encrypt.3
@@ -1,4 +1,4 @@
-.TH ENCRYPT 2
+.TH ENCRYPT 3
.SH NAME
encrypt, decrypt, netcrypt \- DES encryption
.SH SYNOPSIS
@@ -59,7 +59,7 @@
and the string is copied into
.IR data .
.SH SOURCE
-.B /sys/src/libc/port
+.B \*9/src/lib9
.SH DIAGNOSTICS
These routines return 1 if the data was encrypted,
and 0 if the encryption fails.
diff --git a/man/man3/mach-map.3 b/man/man3/mach-map.3
index 45f48e7..c582257 100644
--- a/man/man3/mach-map.3
+++ b/man/man3/mach-map.3
@@ -407,3 +407,5 @@
.B Regs
and
.B Regdesc
+and
+.I coreregs.
diff --git a/man/man3/ndb.3 b/man/man3/ndb.3
index fd5c54e..14c845b 100644
--- a/man/man3/ndb.3
+++ b/man/man3/ndb.3
@@ -88,13 +88,13 @@
These routines are used by network administrative programs to search
the network database.
They operate on the database files described in
-.IR ndb (6).
+.IR ndb (7).
.PP
.I Ndbopen
opens the database
.I file
and calls
-.IR malloc (2)
+.IR malloc (3)
to allocate a buffer for it.
If
.I file
@@ -128,7 +128,7 @@
On a successful search both return a linked list of
.I Ndbtuple
structures acquired by
-.IR malloc (2)
+.IR malloc (3)
that represent the attribute/value pairs in the
entry.
On failure they return zero.
diff --git a/man/man3/sysfatal.3 b/man/man3/sysfatal.3
index 180a340..d0a6665 100644
--- a/man/man3/sysfatal.3
+++ b/man/man3/sysfatal.3
@@ -44,7 +44,7 @@
the name of the machine writing the message;
the date and time;
the message specified by the
-.IR print (2)
+.IR print (3)
format
.I fmt
and any following arguments;
diff --git a/man/man4/INDEX b/man/man4/INDEX
index 5e1583a..2cb8995 100644
--- a/man/man4/INDEX
+++ b/man/man4/INDEX
@@ -2,6 +2,7 @@
intro 0intro.4
9pserve 9pserve.4
acme acme.4
+factotum factotum.4
import import.4
plumber plumber.4
ramfs ramfs.4
diff --git a/man/man4/factotum.4 b/man/man4/factotum.4
index 777fe74..119451f 100644
--- a/man/man4/factotum.4
+++ b/man/man4/factotum.4
@@ -323,7 +323,7 @@
.PP
All keys can have additional attibutes that act either as comments
or as selectors to distinguish them in the
-.IR auth (2)
+.IR auth (3)
library calls.
.PP
The factotum owner can use any key stored by factotum.
diff --git a/man/man7/INDEX b/man/man7/INDEX
index f77f766..92d0bc0 100644
--- a/man/man7/INDEX
+++ b/man/man7/INDEX
@@ -8,6 +8,7 @@
man man.7
map map.7
ms ms.7
+ndb ndb.7
plot plot.7
plumb plumb.7
regexp regexp.7
diff --git a/man/man7/ndb.7 b/man/man7/ndb.7
index 066ff0b..4387f99 100644
--- a/man/man7/ndb.7
+++ b/man/man7/ndb.7
Binary files differ