> 
> 
> Got tired of the dinky cachesize for pwd_mkdb, especially since vipw
> doesn't take advantage of the -u or -s options.
> 
> So here a couple patches that make the cachesize tweakable from make.conf.
> 
> Dramatically helps on those 10-15k line password files.
> 
> I would appreciate it if somebody would at least consider committing
> this...

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.


-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msm...@freebsd.org
\\    -- Joseph Merrick           \\  msm...@cdrom.com




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

Reply via email to