Scan For Work; Call Remote System - Sun Microsystems Sun Workstation 100U System Manager's Manual

Table of Contents

Advertisement

UUCP Implementation Description
UUCICO - Copy In, Copy Out
When started by method a, b or c,
uucico
is considered to be in MASTER mode. In this mode,
a connection is made to a remote system. If started by a remote system (method d),
uucico
is
considered to be in SLA VE mode.
The MASTER mode operates in one of two ways. If no system name is specified (-s option not
specified) uucico scans the spool directory for systems to call. If a system name is specified, that
system is called, and work is only done for that system.
Uucico is generally started by another program. There are several options used for execution:
-rl
Start uucico in MASTER mode. This is used when uucico is started by a pro-
gram or "cron" shell.
-s'y'
Do work only for system
'11'.
If -, is specified, a call to the specified system is
made even if there is no work for system
' 1 1'
in the spool directory. This is use-
ful for polling systems that do not have the hardware to initiate a connection.
The following options
are
used primarily for debugging:
-ddir
Use directory
dir
for the spool directory.
-xnum
Num is a level number between 1 and OJ higher numbers give more debugging
output.
The next part of this section describes the major steps within the uucico program.
5.1. Scan For Work
The names of the work related files in the spool directory have format
type • system-name grade number
t,lpe
is an upper case letter (
C -
copy command file,
D -
data file,
X -
execute file),
'lIltem-name
grade
number
The file
is the remote system, truncated to ,even character,.
is a character,
is a four digit, hexadecimal, zero padded sequence number.
C .res45n0031
would be a work file for a file transfer between the local machine and the "res45" machine.
The scan for work is done by looking through the spool directory for work
file,
(files with prefix
"e. ").
A list is made of all systems to be called. Uucico then calls each system and processes
all work file,.
5.2. Call Remote System
The can is made using information from several files that reside in the
uucp
program directory
(usually /u,r/lib/uucp). At the start of the call process, a lock is set to prevent multiple conver-
sations between the same two systems.
The L •
'11'
file contains information required to make the remote connection:
[1] system name,
7 January 1984
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents