|
|
1.1 ! root 1: .TH DIST 1 ! 2: .SH NAME ! 3: dist \(em distribute files to a remote machine ! 4: .SH SYNOPSIS ! 5: .ft CW ! 6: dist [-nv] [-d \fIhosts\fP] [-[Ff] \fIhostfile\fP] [-D \fIold\fP=\fInew\fP] [-[Xx] \fIcommand\fP] \fIfile ...\fP ! 7: .sp ! 8: dist -q [-v] [\fIsystems ...\fP] ! 9: .sp ! 10: dist -r [-v] [-D \fIold=new\fP] [-R \fIrootdir\fP] \fIsystem\fP [\fIjob ...\fP] ! 11: .SH DESCRIPTION ! 12: .I Dist ! 13: distributes files to other systems, where they are installed ! 14: under the same names. ! 15: .I Dist ! 16: operates by packing the files with ! 17: .IR mkdist (1), ! 18: and queueing the resulting package in a spool directory to be ! 19: picked up by the remote systems. ! 20: .PP ! 21: .I Dist ! 22: has several forms of use. In the first (default) form, ! 23: .I dist ! 24: packages the named files and queues them for remote systems. ! 25: By default, the list of remote systems is taken from ! 26: .BR /usr/lib/dist/destinations/default . ! 27: The ! 28: .B -d ! 29: option allows a list of destination systems to be specified as ! 30: a single argument (containing system names separated by spaces). ! 31: Similarly, the ! 32: .B -f ! 33: option allows a list of systems to be taken from a file. ! 34: The ! 35: .B -F ! 36: option is like ! 37: .BR -f , ! 38: except it looks in a standard place for the file. ! 39: Multiple ! 40: .BR -d , ! 41: .BR -f , ! 42: and ! 43: .BR -F ! 44: options may be combined. If any destinations are specified via ! 45: the command line, the default destinations file is not read. ! 46: The ! 47: .BR -D , ! 48: .BR -X , ! 49: and ! 50: .B -x ! 51: options are passed to ! 52: .IR mkdist . ! 53: By default, after packaging and queueing the files for distribution, ! 54: .I dist ! 55: notifies each remote system that the package is available, and the ! 56: remote system then dials back and immediately downloads the package. The ! 57: .B -n ! 58: option suppresses this notification. ! 59: .PP ! 60: In the second form, when the ! 61: .B -q ! 62: option is given, ! 63: .I dist ! 64: displays the queue contents on each remote system named in the ! 65: command line. If no remote systems are named, ! 66: .I dist ! 67: displays the local queue. ! 68: .PP ! 69: The third form, with the ! 70: .B -r ! 71: option, makes a network call to the named system ! 72: and attempts to download and install the named jobs. ! 73: If no jobs are named, it attempts to download all jobs ! 74: on the remote system. The ! 75: .B -D ! 76: and ! 77: .B -R ! 78: options are passed to ! 79: .IR insdist (1). The ! 80: .B -r ! 81: form is rarely used, since the default behavior is for ! 82: remote systems to automatically dial back when a package ! 83: is announced. ! 84: .PP ! 85: In all three forms of the command, the ! 86: .B -v ! 87: option enables verbose output. ! 88: .SH FILES ! 89: .TF /usr/lib/dist/destinations/default ! 90: .TP ! 91: .F /usr/lib/dist/* ! 92: Supporting programs. ! 93: .TP ! 94: .F /usr/lib/dist/destinations/default ! 95: List of default destination systems. ! 96: .TP ! 97: .F /usr/lib/dist/destinations/* ! 98: Destination files for the ! 99: .B -F ! 100: option. ! 101: .TP ! 102: .F /usr/spool/dist ! 103: Spool directory. ! 104: .TP ! 105: .F /usr/spool/dist/Q.* ! 106: Spool subdirectories. ! 107: .TP ! 108: .F /usr/spool/dist/log ! 109: Log file. ! 110: .SH "SEE ALSO" ! 111: .IR mkdist (1) ! 112: .SH BUGS ! 113: .B -v ! 114: should provide more verbose output. ! 115: .br ! 116: Logging needs improvement.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.