Contains file transfer directions for the uucico daemon.
Command (C.*) files contain the directions that the Basic Networking Utilities (BNU) uucico daemon follows when transferring files. The full path name of a command file is a form of the following:
The SystemName variable indicates the name of the remote system. The N character represents the grade of the work. The xxxx notation is the four-digit hexadecimal transfer-sequence number; for example, C.merlinC3119.
The grade of the work specifies when the file is to be transmitted during a particular connection. The grade notation characteristics are:
A command file consists of a single line that includes the following kinds of information in the following order:
Note: A send command file is created by the uucp or uuto commands; a receive command file is created by the uux command.
The following are two examples of using the command (C.*) files.
S /home/amy/f1 /var/spool/uucppublic/f2 amy -dC D.herale73655 777 lgh
Note: The destination name may be abbreviated as ~/f2. Here, the ~ (tilde) is a shorthand way of designating the public directory.
S /home/amy/out ~/receive/msg/zeus amy -dcn D.0 777 msg
The S denotes that the /home/amy/out source file was sent to the receive/msg subdirectory in the public spooling directory on system zeus by user amy.
Note: The uuto command creates the receive/msg directory if it does not already exist.
The uuto command used the default flags -d (create directories), -c (transfer directly, no spooling directory or data file), and -n (notify recipient). The D.0 notation is a placeholder, 777 is the permissions code, and msg is the recipient.
The format of a receive command file is somewhat different from that of a send command file. When files required to run a specified command on a remote system are not present on that system, the uux command creates a receive command file.
For example, the following command:
uux - "diff /home/amy/out hera!/home/amy/out2 > ~/DF"
produces the /var/spool/uucp/zeus/C.heraR1e94 receive command file.
Note: The command in this example invokes the uux command to run a diff command on the local system, comparing file /home/amy/out with file /home/amy/out2, which is stored on the remote system hera. The output of the comparison is placed in the DF file in the public directory on the local system.
The actual receive command file looks like this:
R /home/amy/out2 D.hera1e954fd amy - dummy 0666 amy
The R denotes a receive file. The uucico daemon, called by the uux command, gets the /home/amy/out2 file from system hera and places it in a data file called D.hera1e954fd for the transfer. Once the files are transferred, the uuxqt daemon executes the command on the specified system.
User amy issued the uux command with the - (minus sign) flag, which makes the standard input to the uux command the standard input to the actual command string. No data file was created in the local spooling directory, so the BNU program uses dummy as a placeholder. The permissions code is 666 (the BNU program prefixes the three-digit octal code with a 0), and user amy is to be notified when the command has finished executing.
These files are part of the Basic Networking Utilities Program (BNU) in BOS Extensions 1.
|/etc/uucp/Permissions||Describes access permissions for remote systems.|
|/etc/uucp/Systems||Describes accessible remote systems.|
|/etc/uucp/Sysfiles file||Specifies possible alternative files for /etc/uucp/Systems.|
|/var/spool/uucp/SystemName/D.*||Contains data to be transferred.|
|/var/spool/uucp/SystemName directory||Contains BNU command, data, and execute files.|
|/var/spool/uucppublic/* directory||Contains transferred files.|
The uucp command, uudemon.cleanu command, uupick command, uuto command, uux command.
The cron daemon, uucico daemon, uusched daemon, uuxqt daemon.
BNU File and Directory Structure, BNU Daemons, BNU Maintenance Commands in AIX 5L Version 5.1 System Management Guide: Communications and Networks.