|
|
1.1 ! root 1: .\" Copyright (c) 1985 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)mkhosts.8 6.3 (Berkeley) 5/23/86 ! 6: .\" ! 7: .TH MKHOSTS 8 "May 23, 1986" ! 8: .UC 6 ! 9: .SH NAME ! 10: mkhosts \- generate hashed host table ! 11: .SH SYNOPSIS ! 12: .B /etc/mkhosts ! 13: [ ! 14: .B \-v ! 15: ] ! 16: hostfile ! 17: .SH DESCRIPTION ! 18: .I Mkhosts ! 19: is used to generated the hashed host database used by one version of the ! 20: library routines ! 21: .B gethostbyaddr() ! 22: and ! 23: .BR gethostbyname() . ! 24: It is not used if host name translation is performed by ! 25: .IR named (8). ! 26: If the ! 27: .B \-v ! 28: option is supplied, each host will be listed as it is added. ! 29: The file ! 30: .I hostfile ! 31: is usually /etc/hosts, and in any case ! 32: must be in the format of /etc/hosts (see hosts(5)). ! 33: .I Mkhosts ! 34: will generate database files named ! 35: .I hostfile.pag ! 36: and ! 37: .I hostfile.dir. ! 38: The new database is build in a set of temporary files and ! 39: only replaces the real database if the new one is built ! 40: without errors. ! 41: .I Mkhosts ! 42: will exit with a non-zero exit code if any errors are detected. ! 43: .SH FILES ! 44: .ta \w'hostfile.new.dir 'u ! 45: \fIhostfile\fR.pag - real database filenames ! 46: .br ! 47: \fIhostfile\fR.dir ! 48: .br ! 49: \fIhostfile\fR.new.pag - temporary database filenames ! 50: .br ! 51: \fIhostfile\fR.new.dir ! 52: .SH SEE ALSO ! 53: gethostbyname(3), gettable(8), hosts(5), htable(8), named(8)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.