This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nscd caching getpwent() and getgrent()


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]