This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: NSS and db
- To: Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>
- Subject: Re: NSS and db
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 12 Sep 1999 11:55:14 -0700
- Cc: libc-alpha@sourceware.cygnus.com
- References: <14299.60866.202777.782433@harnisch.isdn.cs.tu-berlin.de>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de> writes:
> I wonder what the serial number is used for. I guessed that there is a
> convention that getXXXent() has to return entries in the same order as
> they appear in /etc/passwd, which would IMHO not be a very good idea.
>
> Leaving out the serial number entry could reduce the size of the DB by
> about one third!
Why should we have added this if it wasn't necessary? YOu need it for
the getXXent() functions.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------