This website requires JavaScript.
Explore
Help
Register
Sign In
hardenedbsd
/
HardenedBSD
Watch
1
Star
0
Fork
0
You've already forked HardenedBSD
mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced
2024-11-24 17:44:17 +01:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
4c59a618e7
HardenedBSD
/
libexec
/
mknetid
/
Makefile
9 lines
100 B
Makefile
Raw
Normal View
History
Unescape
Escape
Revert $FreeBSD$ to $Id$
1997-02-22 15:22:49 +01:00
# $Id$
(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.)
1996-06-25 22:26:38 +02:00
PROG
=
mknetid
SRCS
=
mknetid.c hash.c parse_group.c
MAN8
=
mknetid.8
.
i
n
c
l
u
d
e
<
b
s
d
.
p
r
o
g
.
m
k
>
Reference in New Issue
Copy Permalink