version 1.32, 2007/03/01 22:51:57 |
version 1.33, 2007/03/01 23:01:18 |
|
|
.Pa /tmp/rdist.log . |
.Pa /tmp/rdist.log . |
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
.Bl -tag -width "TMPDIR" |
.Bl -tag -width "TMPDIR" |
.It TMPDIR |
|
Name of temporary directory to use. |
|
Default is |
|
.Pa /tmp . |
|
.It RSH |
.It RSH |
Name of the default remote shell program to use. |
Name of the default remote shell program to use. |
Default is |
The default is |
.Xr ssh 1 . |
.Xr ssh 1 . |
|
.It TMPDIR |
|
Name of the temporary directory to use. |
|
The default is |
|
.Pa /tmp . |
.El |
.El |
.Sh FILES |
.Sh FILES |
.Bl -tag -width "$TMPDIR/rdist*" -compact |
.Bl -tag -width "$TMPDIR/rdist*" -compact |
.It distfile |
.It {d,D}istfile |
input command file |
.Nm |
|
command file. |
.It $TMPDIR/rdist* |
.It $TMPDIR/rdist* |
temporary file for update lists |
Temporary file for update lists. |
.El |
.El |
.Sh EXAMPLES |
.Sh EXAMPLES |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
|
|
notify root@cory ; |
notify root@cory ; |
.Ed |
.Ed |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr csh 1 , |
.Xr rdistd 1 , |
.Xr rsh 1 , |
.Xr rsh 1 , |
.Xr sh 1 , |
.Xr sh 1 , |
.Xr ssh 1 , |
.Xr ssh 1 , |
.Xr stat 2 , |
.Xr re_format 7 , |
.Xr rcmdsh 3 |
.Xr syslogd 8 |
.Sh STANDARDS |
.Sh STANDARDS |
The options |
The options |
.Op Fl bhiNOqRrsvwxy |
.Op Fl bhiNOqRrsvwxy |
are still recognized for backwards compatibility. |
are still recognized for backwards compatibility. |
.Sh CAVEATS |
.Sh CAVEATS |
If the basename of a file (the last component in the pathname) is ".", then |
If the basename of a file |
|
(the last component in the pathname) |
|
is |
|
.Sq .\& , |
.Nm |
.Nm |
assumes the remote (destination) name is a directory. |
assumes the remote (destination) name is a directory. |
That is, |
That is, |
.Pa /tmp/ . |
.Pa /tmp/.\& |
means that |
means that |
.Pa /tmp |
.Pa /tmp |
should be a directory on the remote host. |
should be a directory on the remote host. |
.Sh BUGS |
.Sh BUGS |
Source files must reside on the local host where rdist is executed. |
Source files must reside on the local host where |
|
.Nm |
|
is executed. |
.Pp |
.Pp |
Variable expansion only works for name lists; there should be a general macro |
Variable expansion only works for name lists; |
facility. |
there should be a general macro facility. |
.Pp |
.Pp |
.Nm |
.Nm |
aborts on files which have a negative mtime (before Jan 1, 1970). |
aborts on files which have a negative mtime (before Jan 1, 1970). |
.Pp |
.Pp |
If a hardlinked file is listed more than once in the same target, |
If a hardlinked file is listed more than once in the same target, |
then |
|
.Nm |
.Nm |
will report missing links. |
will report missing links. |
Only one instance of a link should be listed in each target. |
Only one instance of a link should be listed in each target. |