Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ aliashash(M) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

aliases(M)

netutil(C)



     ALIASHASH(M)             XENIX System V              ALIASHASH(M)



     Name
          aliashash - Micnet alias hash table generator.

     Syntax
          aliashash [ -v ] [ -o output-file ] [ input-file ]

     Description
          The aliashash command reads the input-file and generates an
          output-file containing a hash table of alias definitions for
          a Micnet network.  The input-file must name a file
          containing alias definitions in the form described for the
          aliases file (see aliases(M)).  If the -o option is not used
          to specify an output-file, the command creates a file with
          the same name as the input-file but with .hash appended to
          it.  If no input-file is given, the command reads the file
          named /usr/lib/mail/aliases and creates the file named
          /usr/lib/mail/aliases.hash.

          If invoked with the -v option, the command lists information
          about the hash table.

          The output-file will contain both the alias definitions
          given in the input-file and the new hash table.  The hash
          table appears at the beginning of the file and is separated
          from the alias definitions by a blank line.  The hash table
          has three or more lines.  The first line is:

               #<hash>

          The second line has 4 entries: the bytes per table entry,
          the maximum number of items per hash value, the number of
          entries in the table, and the offset (in bytes) from the
          beginning of the file to the beginning of the alias
          definitions.

          The next lines (up to the end of the hash table) contain the
          hash table entries.   Each line has 8 entries (separated by
          spaces) and each entry has 2 fields.  The first field (1
          byte) is a checksum (represented as a printable character);
          the second field is a pointer (in bytes) to the alias
          definition. The pointer is represented as a hexadecimal
          number with leading blanks if necessary and is always
          relative to the start of the definitions.

          The aliashash command is normally invoked by the install
          option of the netutil command.  If the alias definitions of
          a network must be changed, the definitions in the aliases
          file should be changed and a new aliases.hash file created
          using the aliashash command.  The new aliases.hash file must
          then be copied to all other computers in the network.





     Page 1                                           (printed 8/7/87)





     ALIASHASH(M)             XENIX System V              ALIASHASH(M)



     Files
          /usr/lib/mail/aliashash
          /usr/lib/mail/aliases
          /usr/lib/mail/aliases.hash
          /usr/lib/mail/maliases.hash

     See Also
          aliases(M), netutil(C)

     Warning
          Do not use the aliashash command to create the aliases.hash
          file while the network is running.  If necessary, create a
          temporary output file, aliases.hash- , using the -o option,
          then enter:

               mv aliases.hash- aliases.hash

          This will prevent disruption of the network.





































     Page 2                                           (printed 8/7/87)



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