From owner-cvs-libexec Tue Jun 25 13:26:59 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14083 for cvs-libexec-outgoing; Tue, 25 Jun 1996 13:26:59 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA13982; Tue, 25 Jun 1996 13:26:40 -0700 (PDT) Date: Tue, 25 Jun 1996 13:26:40 -0700 (PDT) From: Bill Paul Message-Id: <199606252026.NAA13982@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/mknetid - Imported sources Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/06/25 13:26:39 src/libexec/mknetid - Imported sources Update of /home/ncvs/src/libexec/mknetid In directory freefall.freebsd.org:/a/wpaul/import/mknetid Revision/Branch: 1.1.1 Log Message: (This import had better work correctly or so help me I'll move to the Himalayas and become a hermit.) Import new mknetid program. This replaces the crufty, soon to be defunct mknetid script packaged with ypserv. This program parses the group, passwd, hosts and netid databases into the netid.byname map. Duplicate checking is performed using hash tables. Testing on my 486DX2/66 with FreeBSD 2.1.0 showed that this program can process a 30,000-entry passwd database into a netid map (along with assorted group and hosts information) in about 22 seconds. On my SPARC IPX with SunOS 4.1.3, it takes about 15 seconds. This compares favorably with the SunOS mknetid program, which parses the same database(s) in 13 seconds. (With smaller databases, my program is actually slightly faster. Go figure.) Status: Vendor Tag: WPAUL Release Tags: mknetid_1_0 N src/libexec/mknetid/Makefile N src/libexec/mknetid/hash.c N src/libexec/mknetid/hash.h N src/libexec/mknetid/mknetid.8 N src/libexec/mknetid/mknetid.c N src/libexec/mknetid/parse_group.c No conflicts created by this import