Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypmake(8) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

make(1)

makedbm(8)

ypfiles(5)

yppaswdd(8)

yppush(8)

ypserv(8)



YPMAKE(8)               COMMAND REFERENCE               YPMAKE(8)



NAME
     ypmake - rebuild Yellow Pages data base

SYNOPSIS
     cd /etc/yp ; make [ map ]

DESCRIPTION
     The file called Makefile in /etc/yp is used by make to build
     the Yellow Pages (YP) data base.  With no arguments, make
     creates dbm data bases for any YP maps that are out-of-date,
     then executes yppush notifying slave data bases that there
     has been a change.

     Maps are added by creating new targets in the Makefile and
     creating input files for the target's use (see the /etc/yp
     Makefile).

     If you supply a map on the command line, make updates that
     map only.  Typing make passwd will create and yppush the
     password data base (assuming it is out-of-date).  Likewise,
     the commands make hosts and make networks will create and
     yppush the host and network files, /etc/hosts and
     /etc/networks.

     There are three special variables used by make in the
     /etc/yp Makefile:

     DIR            Gives the directory of the source files; the
                    default for DIR is /etc.

     NOPUSH         When non-null inhibits doing a yppush of the
                    new data base files; the default for NOPUSH
                    is the null string.

     DOM            Used to construct a domain other than the
                    master's default domain.

EXAMPLES
     You can create a new domain by using the domainname(1)
     command to reset the master's default domain, then run the
     command

           ypinit -m


     thus remaking all maps for the new domain.  Or, you could
     add DOM=new_domain to the make invocation, (although first
     you must create the new directory), where new_domain is the
     name of the domain you created.  Thus, if you typed:

          mkdir new_domain
          make DOM=new_domain



Printed 5/12/88                                                 1





YPMAKE(8)               COMMAND REFERENCE               YPMAKE(8)



     you would make new maps for the domain new_domain, enabling
     your system to serve YP clients in the new_domain.

     Refer to ypfiles(5) and ypserv(8) for an overview of the
     Yellow Pages.

SEE ALSO
     make(1), makedbm(8), ypfiles(5), yppaswdd(8), yppush(8), and
     ypserv(8).

     Refer to the Network File System Reference manual.












































Printed 5/12/88                                                 2





































































%%index%%
na:288,91;
sy:379,267;
de:646,1711;
ex:2357,692;3409,270;
se:3679,399;
%%index%%000000000104

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