4.2BSD/usr/man/man8/arff.8v

.TH ARFF 8V "18 July 1983"
.UC 4
.SH NAME
arff, flcopy \- archiver and copier for floppy
.SH SYNOPSIS
.B /etc/arff
[ key ] [ name ... ]
.br
.B /etc/flcopy
[
.B \-h
] [
\fB\-t\fIn\fR
]
.SH DESCRIPTION
.I Arff
saves and restores files
on the console floppy disk.
Its actions are controlled by the
.I key
argument.
The
.I key
is a string of characters containing
at most one function letter and possibly
one or more function modifiers.
Other arguments to the command are file
names specifying which files are to be dumped or restored.
.PP
Files names have restrictions, because of radix50 considerations.  They
must be in the form 1-6 alphanumerics followed by "." followed by
0-3 alphanumerics.  Case distinctions are lost.  Only the trailing component
of a pathname is used.
.PP
The function portion of
the key is specified by one of the following letters:
.TP 8
.B  r
The named files
are replaced where found on the floppy, or added taking up
the minimal possible portion of the first empty spot on the floppy.
.TP 8
.B  x
The named files are extracted from the floppy.
.TP 8
.B  d
The named files are deleted from the floppy.  Arff will combine contiguous
deleted files into one empty entry in the rt-11 directory.
.TP 8
.B  t
The names of the specified files are listed each time they occur
on the floppy.
If no file argument is given,
all of the names on the floppy are listed.
.PP
The following characters may be used in addition to the letter
which selects the function desired.
.TP 10
.B  v
The
.B v
(verbose)
option, when used with the
.B t
function gives more information about the
floppy entries than just the name.
.TP 10
.B f
causes 
.I arff
to use the next argument as the name of the archive instead
of /dev/floppy. 
.TP 10
.B m
causes
.I arff
not to use the mapping algorithm employed in interleaving sectors
around a floppy disk.  In conjunction with the 
.B f
option it may be
used for extracting files from rt11 formatted cartridge disks, for
example. It may also be used to speed up reading from and writing to 
rx02 floppy disks, by using the `c' device instead of the `b' device.
.TP 10
.B c
causes
.I arff
to create a new directory on the floppy, effectively deleting
all previously existing files.
.PP
.I Flcopy
copies
the console floppy disk
(opened as `/dev/floppy')
to a file created in the
current directory, named \*(lqfloppy\*(rq,
then prints the message
\*(lqChange Floppy, hit return when done\*(rq.
Then
.I flcopy
copies the local file back out to the floppy disk.
.PP
The
.B \-h
option to 
.I flcopy
causes it to
open a file named \*(lqfloppy\*(rq in the current directory
and copy it to
.I /dev/floppy;
the
.B \-t
option
causes only the first
.I n
tracks to participate in a copy.
.PP
.I Arff
may also be used with the console TU58 cassettes on the 11/730.
To do so, the 
.B m
key must be specified.   Normally, the
.B f
key is also used.
.SH FILES
/dev/floppy or /dev/rrx??
.br
floppy (in current directory)
.SH SEE ALSO
fl(4), rx(4), rxformat(8V)
.SH AUTHORS
Keith Sklower, Richard Tuck
.SH BUGS
Floppy errors are handled ungracefully;
.I Arff
does not handle multi-segment rt11 directories.