cvs commit: src/etc Makefile cached.conf src/etc/defaults rc.conf src/etc/rc.d Makefile cached src/include nsswitch.h src/include/rpc rpcent.h src/lib/libc Makefile src/lib/libc/gen getgrent.c getpwent.c src/lib/libc/include nscache.h nscachedcli.h ...

Daniel Eischen deischen at
Sat Apr 29 14:39:53 UTC 2006

On Fri, 28 Apr 2006, Hajimu UMEMOTO wrote:

> ume         2006-04-28 12:03:38 UTC
>  FreeBSD src repository
>  Modified files:
>    etc                  Makefile
>    etc/defaults         rc.conf
>    etc/rc.d             Makefile
>    include              nsswitch.h
>    include/rpc          rpcent.h
>    lib/libc             Makefile
>    lib/libc/gen         getgrent.c getpwent.c
>    lib/libc/net getaddrinfo.c
>                         gethostnamadr.c getnetnamadr.c getproto.c
>                         getprotoent.c getprotoname.c getservent.c
>                         name6.c netdb_private.h nsdispatch.c
>    lib/libc/rpc         getrpcent.c
>    share/mk   
>    usr.sbin             Makefile
>  Added files:
>    etc                  cached.conf
>    etc/rc.d             cached
>    lib/libc/include     nscache.h nscachedcli.h
>    lib/libc/net         nscache.c nscachedcli.c
>    usr.sbin/cached      Makefile agent.c agent.h cached.8
>                         cached.c cached.conf.5 cachedcli.c
>                         cachedcli.h cachelib.c cachelib.h
>                         cacheplcs.c cacheplcs.h config.c config.h
>                         debug.c debug.h hashtable.h log.c log.h
>                         mp_rs_query.c mp_rs_query.h mp_ws_query.c
>                         mp_ws_query.h parser.c parser.h
>                         protocol.c protocol.h query.c query.h
>                         singletons.c singletons.h
>    usr.sbin/cached/agents group.c group.h passwd.c
>                           passwd.h services.c services.h
>  Removed files:
>    lib/libc/net         getservbyname.c getservbyport.c
>  Log:
>  - Extend the nsswitch to support Services, Protocols and Rpc
>    databases.
>  - Make nsswitch support caching.

Great work, but is there a reason why this is called cached instead
of nscd?  There is prior precedent (Linux, Solaris) for nscd and
nscd.conf, and cached is just too general.

I general, if there is prior precedent for utilities like this,
we should try to be more conforming instead of paving our own
way.  As an example, we have nsswitch.conf, not switch.conf.


More information about the cvs-src mailing list