Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

10.2;mkhosts (make hosts), revision 2.0, 89/03/31
mhosts (make hosts) -generate hashed host table
usage: mkhosts [-v] [hostfile]



DESCRIPTION
     The mkhosts command is used to generate the hashed host database used by
     one version of the library routines gethostbyaddr and gethostbyname .  It
     is not used if host name translation is performed by named.

     The new database is build in a set of temporary files and only replaces
     the real database if the new one is built without errors.  mkhosts will
     exit with a non-zero exit code if any errors are detected.

OPTIONS
     -v        List each host as it is added.  The default hostfile is
               /etc/hosts.  If another file is specified, it must be in the
               format of /etc/hosts (see hosts).  mkhosts will generate
               database files named hostfile.pag and hostfile.dir.

FILES
     hostfile.pag        - real database filenames
     hostfile.dir
     hostfile.new.pag    - temporary database filenames
     hostfile.new.dir

SEE ALSO
     gethostbyname, gettable, hosts, htable, named;
     Configuring and Managing TCP/IP.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026