Subject: Re: Switching /etc/services to a .db file (was: CVS commit: src/etc)
To: None <>
From: SODA Noriyuki <>
List: tech-userlevel
Date: 08/17/2005 21:24:05
>>>>> On Wed, 17 Aug 2005 08:24:26 +0200,
      Bernd Ernesti <> said:

>> If we make our libc use a .db file for /etc/services, it should be
>> safe to import the entire IANA file -- and probably a good idea, too.

> As long as it it easy to add new local entries.

And if the machine has enough space in the root partition.
Since a DB file with 10,000 entries probaby use more than 4MB.

>>>>> On Wed, 17 Aug 2005 08:04:50 -0400,
	Perry E. Metzger <> said:

> > And how much overhead would that cause on busy servers?
> Much less, of course.

Have you measured?
It may be rather slower, because 4MB DB file may require disk seeks,
and today's 13KB file will be always completely cached in the page