summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.ypxfrd
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-03-01 14:09:25 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-03-01 14:09:25 +0000
commitb2240fc1c08ba82628285458b057b5f795a68a43 (patch)
tree5acb2bdc9bc2d2c26e220a424cc6f0b29df60dec /usr.sbin/rpc.ypxfrd
parent3197c29bd1de99eb5100db75bfb4d651f6878fa7 (diff)
downloadFreeBSD-src-b2240fc1c08ba82628285458b057b5f795a68a43.zip
FreeBSD-src-b2240fc1c08ba82628285458b057b5f795a68a43.tar.gz
Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
Diffstat (limited to 'usr.sbin/rpc.ypxfrd')
-rw-r--r--usr.sbin/rpc.ypxfrd/rpc.ypxfrd.830
1 files changed, 20 insertions, 10 deletions
diff --git a/usr.sbin/rpc.ypxfrd/rpc.ypxfrd.8 b/usr.sbin/rpc.ypxfrd/rpc.ypxfrd.8
index c086f77..0543b75 100644
--- a/usr.sbin/rpc.ypxfrd/rpc.ypxfrd.8
+++ b/usr.sbin/rpc.ypxfrd/rpc.ypxfrd.8
@@ -43,7 +43,8 @@
The
.Nm
daemon is used to speed up the distribtion of very large NIS maps
-from NIS master to NIS slave servers. The normal method for transfering
+from NIS master to NIS slave servers.
+The normal method for transfering
maps involves several steps:
.Bl -bullet -offset indent
.It
@@ -71,12 +72,14 @@ database handles.
.El
.Pp
This process can take several minutes when there are very large
-maps involved. For example: a passwd database with several tens of
+maps involved.
+For example: a passwd database with several tens of
thousands of entries can consume several megabytes of disk space,
and it can take the
.Xr db 3
library package a long time to sort and store all the records
-in a hash database. Consider also that there are two sets of map
+in a hash database.
+Consider also that there are two sets of map
files:
.Pa master.passwd.by{name,uid}
and
@@ -86,9 +89,11 @@ The
.Nm
server speeds up the transfer process by allowing NIS slave servers to
simply copy the master server's map files rather than building their
-own from scratch. Simply put,
+own from scratch.
+Simply put,
.Nm
-implements an RPC-based file transfer protocol. Transfering even
+implements an RPC-based file transfer protocol.
+Transfering even
a multi-megabyte file in this fashion takes only a few seconds compared
to the several minutes it would take even a reasonably fast slave server
to build a new map from scratch.
@@ -100,7 +105,8 @@ server uses the same access restriction mechanism as
This means that slave servers will only be permitted to transfer
files if the rules in the
.Xr securenets 5
-database permit it. Furthermore, only slave servers using reserved
+database permit it.
+Furthermore, only slave servers using reserved
ports will be allowed to transfer the
.Pa master.passwd
maps.
@@ -110,7 +116,8 @@ The following option is available:
.It Fl p Ar path
This option can be used to override the default path to
the location of the NIS
-map databases. The compiled-in default path is
+map databases.
+The compiled-in default path is
.Pa /var/yp .
.El
.Sh FILES
@@ -127,13 +134,16 @@ The NIS maps for a particular NIS domain.
The
.Bx Free
.Nm ypxfrd
-protocol is not compatible with that used by SunOS. This is unfortunate
+protocol is not compatible with that used by SunOS.
+This is unfortunate
but unavoidable: Sun's protocol is not freely available, and even if it
were it would probably not be useful since the SunOS NIS v2 implementation
uses the original ndbm package for its map databases whereas the
.Bx Free
-implementation uses Berkeley DB. These two packages use vastly different
-file formats. Furthermore, ndbm is byte-order sensitive and not very
+implementation uses Berkeley DB.
+These two packages use vastly different
+file formats.
+Furthermore, ndbm is byte-order sensitive and not very
smart about it, meaning that am ndbm database created on a big endian
system can't be read on a little endian system.
.Sh AUTHORS
OpenPOWER on IntegriCloud