
526
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
ypxfr
ypxfr [options] mapname
NFS/NIS command. Transfer an NIS map from the server to the
local host by making use of normal NIS services. ypxfr creates a
temporary map in the directory /var/yp/domain (where domain is
the default domain for the local host), fills it by enumerating the
map’s entries, and fetches the map parameters and loads them. If
run interactively, ypxfr writes its output to the terminal. However,
if it is invoked without a controlling terminal, its output is sent to
syslogd.
Options
-c Do not send a “Clear current map” request to the local ypserv
process.
-C tid prog ipadd port
This option is for use only by ypserv. When ypserv invokes
ypxfr, it specifies that ypxfr should call back a yppush process
at the host with IP address ipadd, registered as program
number prog, listening on port port, and waiting for a
response to transaction tid.
-d domain
Specify a domain other than the default domain.
-f Force the transfer to occur even if the version on the master
server is older than the local version.
-h host
Get the map from host instead of querying NIS for the map’s
master server. host may be specified by name or IP address.
-p dir
Use dir as the path to the NIS map directory instead of /var/yp.
-s domain
Specify a source domain from which to transfer ...