nscd caching getpwent() and getgrent()
Nicholas Miell
nmiell@gmail.com
Mon Aug 7 18:45:00 GMT 2006
On 8/7/06, mdm@google.com <mdm@google.com> wrote:
> >> Nothing stops you from maintaining a global cache shared by all shell
> >> processes.
> >
> > huh ? and how would you go about doing that ? shells are sep processes
> > that
> > share no such data
> > -mike
> >
>
> Well, you could use some sort of Name Service Caching Daemon...
>
> I've got it working fine now with my changes to nscd. I had asked about it
> on this list to see what approach would be preferred by glibc maintainers,
> but it sounds like they don't want it at all. So we'll just keep it
> locally here, since nscd does what we want now.
>
There's no sense in not posting the patch somewhere so other people
can benefit from your work, even if it won't go upstream.
More information about the Libc-alpha
mailing list