nscd caching getpwent() and getgrent()

Mike Frysinger vapier@gentoo.org
Fri Aug 4 16:00:00 GMT 2006


On Thursday 03 August 2006 22:23, Nicholas Miell wrote:
> however I'd like to point out
> that bash does have programmable completion and you may be able to
> work up some hack to do user/group name caching at that level
> (unfortunately, I don't think you can override builtin completion
> methods, which means you can't just say "instead of using builtin user
> completion, call this shell function instead").

but that wouldnt work on nearly the same scale as nscd ... you'd get a cache 
for the active shell, but every new shell would have the same initial 
(minutes long) penalty when doing user completion
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060804/be0c06c7/attachment.sig>


More information about the Libc-alpha mailing list