Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 1997 21:24:43 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-hackers@freebsd.org
Cc:        keith4@ilink.nis.za (keith waters), taob@nbc.netcom.ca (Brian Tao)
Subject:   Re: Unreasonable rebuild time on large password files
Message-ID:  <19970402212443.OT00003@uriah.heep.sax.de>
In-Reply-To: <Pine.GSO.3.95.970402105140.4804B-100000@tor-adm1.nbc.netcom.ca>; from Brian Tao on Apr 2, 1997 10:54:47 -0500
References:  <199704020913.LAA03056@ilink.nis.za> <Pine.GSO.3.95.970402105140.4804B-100000@tor-adm1.nbc.netcom.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
As Brian Tao wrote:

> > This must be one of the worst cases of code/resourse optimisation,
> > since changing a password means rebuilding EVERY SINGLE entry in the
> > password databases.
> 
>     We await your optimized code diffs to pwd_mkdb(8) then.  :)

No need.  It's already there.  Guido once implemented incremental
updates to the password database if only a single user's entry has
been changed.  They seem to be non-optional (much to my surprise :),
and the default in FreeBSD 2.2 and above.

Nobody thought of this change when assembling the release notes for
2.2, not even the author. ;-)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970402212443.OT00003>