Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 1999 11:38:49 -0700 (PDT)
From:      Doug <Doug@gorean.org>
To:        Mike Smith <mike@smith.net.au>
Cc:        Jaye Mathisen <mrcpu@internetcds.com>, hackers@freebsd.org
Subject:   Re: Minor patches to pwd_mkdb 
Message-ID:  <Pine.BSF.4.10.9909011137050.31203-100000@dt010nb9.san.rr.com>
In-Reply-To: <199909010753.AAA03419@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 1 Sep 1999, Mike Smith wrote:

> No.  Try for a patch that guesses how big the password file is (try 
> using stat()) and tunes the cache dynamically.
> 
> Hardcoding this at _build_ time is not any sort of "right" solution.

	Agreed on all counts. I'd also like to add a vote for this since
we have multiple machines with 16k user password files. I had intended to
start looking at the code and offer a solution instead of a me too, but it
sounds like others are already on the right track, so I'll be glad to test
something if someone comes up with patches. 

Doug
-- 
"My mama told me, my mama said, 'don't cry.' She said, 'you're too young a man
to have as many women you got.' I looked at my mother dear and didn't even
crack a smile. I said, 'If women kill me, I don't mind dyin!'" 

    - John Belushi as "Joliet" Jake Blues, "I Don't Know"



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909011137050.31203-100000>