SysIII/usr/src/man/man1/fget.demon.1c
.TH FGET.DEMON 1C
.SH NAME
fget.demon, fget.odemon \- file retrieval daemons
.SH SYNOPSIS
.B /usr/lib/fget.demon
time
.br
.B /usr/lib/fget.odemon
time
.SH DESCRIPTION
.I Fget.demon\^
and
.I fget.odemon\^
are the
retrieval
daemons for the 200-series
.SM DATA-PHONE\*S\*R
set
and for the Murray Hill Spider network.
They are designed to retrieve files
that have been requested by
.IR fget (1C)
from the
.SM MH
.SM HONEYWELL
6000 computer.
The argument
.I time\^
is the number of seconds for
.I fget.demon\^
to wait for files to appear from \s-1GRTS\s+1.
The default is 6 minutes.
.I Fget.demon\^
is automatically initiated by
.IR fget (1C),
and by
.IR cron (1M).
.PP
On systems with both Spider and
.SM DATA-PHONE
connections to
the
.SM HONEYWELL
6000 computer,
.I fget.demon\^
uses Spider, and
.I fget.odemon\^
uses the
.SM DATA-PHONE
set,
and is called automatically as a backup
when the Spider connection is down.
On other systems, there is only one
.I fget\^
daemon,
.IR fget.demon ,
which use the
.SM DATA-PHONE
set.
.PP
The
.I fget\^
daemons
use the spooling directory
.BR /usr/spool/dpd .
The file
.B glock
in that directory
is used
to prevent two daemons from becoming active.
After the program has successfully set the lock,
it forks and the main path exits, thus
spawning the daemon.
.SM GRTS
is interrogated for any output for the daemon's station-id.
If none,
.I fget.demon\^
will wait up to
.I time\^
seconds,
interrogating
.SM GRTS
every minute or so to see if any output has arrived.
All problems and successful transactions are recorded
in the
.B errors
file in the spooling directory.
.PP
To restart
.I fget.demon\^
(in the case of hardware or software malfunction),
it is necessary to first kill the old
.I fget.demon\^
(if still alive),
and remove the lock file
(if present),
before initiating
.IR fget.demon .
This is done automatically
by
.B /etc/rc
when the system is brought up,
in case there are any files waiting to come over.
.SH FILES
.PD 0
.TP 20
/usr/spool/dpd/\(**
spool area.
.TP
/dev/du?
.SM DATA-PHONE
set.
.TP
/dev/dn?
.SM ACU\*S device.
.PD
.SH SEE ALSO
dpd(1C),
fget(1C).