date and time created 88/10/21 15:21:52 by bostic
[unix-history] / usr / src / old / arff / arff.8
CommitLineData
2c25c95b
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
188baeac 5.\" @(#)arff.8 6.2 (Berkeley) %G%
2c25c95b 6.\"
5e0f10ca 7.TH ARFF 8V ""
2c25c95b
KM
8.UC 4
9.SH NAME
10arff, flcopy \- archiver and copier for floppy
11.SH SYNOPSIS
12.B /etc/arff
13[ key ] [ name ... ]
14.br
15.B /etc/flcopy
16[
17.B \-h
18] [
19\fB\-t\fIn\fR
20]
21.SH DESCRIPTION
22.I Arff
23saves and restores files
188baeac
MK
24on VAX console media (the console floppy on the VAX 11/780 and 785,
25the cassette on the 11/730, and the console RL02 on the 8600/8650).
2c25c95b
KM
26Its actions are controlled by the
27.I key
28argument.
29The
30.I key
31is a string of characters containing
32at most one function letter and possibly
33one or more function modifiers.
34Other arguments to the command are file
35names specifying which files are to be dumped or restored.
188baeac
MK
36The default options are correct for the RX01 floppy on the 780;
37for other console media, the
38.B f
39and
40.B m
41flags are required.
2c25c95b
KM
42.PP
43Files names have restrictions, because of radix50 considerations. They
44must be in the form 1-6 alphanumerics followed by "." followed by
450-3 alphanumerics. Case distinctions are lost. Only the trailing component
46of a pathname is used.
47.PP
48The function portion of
49the key is specified by one of the following letters:
50.TP 8
51.B r
52The named files
53are replaced where found on the floppy, or added taking up
54the minimal possible portion of the first empty spot on the floppy.
55.TP 8
56.B x
57The named files are extracted from the floppy.
58.TP 8
59.B d
60The named files are deleted from the floppy. Arff will combine contiguous
61deleted files into one empty entry in the rt-11 directory.
62.TP 8
63.B t
64The names of the specified files are listed each time they occur
65on the floppy.
66If no file argument is given,
67all of the names on the floppy are listed.
68.PP
69The following characters may be used in addition to the letter
70which selects the function desired.
71.TP 10
72.B v
2c25c95b
KM
73The
74.B v
75(verbose)
015c4cb5 76option, when used with the
2c25c95b 77.B t
015c4cb5 78function gives more information about the
2c25c95b
KM
79floppy entries than just the name.
80.TP 10
81.B f
82causes
83.I arff
84to use the next argument as the name of the archive instead
85of /dev/floppy.
86.TP 10
87.B m
88causes
89.I arff
90not to use the mapping algorithm employed in interleaving sectors
91around a floppy disk. In conjunction with the
92.B f
93option it may be
94used for extracting files from rt11 formatted cartridge disks, for
188baeac
MK
95example.
96It may also be used to speed up reading from and writing to
015c4cb5 97rx02 floppy disks, by using the `c' device instead of the `b' device.
188baeac 98It must be used with TU58 or RL02 media.
015c4cb5
KM
99.TP 10
100.B c
101causes
102.I arff
103to create a new directory on the floppy, effectively deleting
104all previously existing files.
2c25c95b
KM
105.PP
106.I Flcopy
107copies
108the console floppy disk
109(opened as `/dev/floppy')
110to a file created in the
111current directory, named \*(lqfloppy\*(rq,
112then prints the message
113\*(lqChange Floppy, hit return when done\*(rq.
114Then
115.I flcopy
116copies the local file back out to the floppy disk.
117.PP
118The
119.B \-h
120option to
121.I flcopy
122causes it to
123open a file named \*(lqfloppy\*(rq in the current directory
124and copy it to
125.I /dev/floppy;
126the
127.B \-t
128option
129causes only the first
130.I n
131tracks to participate in a copy.
132.SH FILES
015c4cb5 133/dev/floppy or /dev/rrx??
2c25c95b
KM
134.br
135floppy (in current directory)
015c4cb5 136.SH SEE ALSO
188baeac 137crl(4), fl(4), rx(4), tu(4), rxformat(8V)
2c25c95b
KM
138.SH AUTHORS
139Keith Sklower, Richard Tuck
140.SH BUGS
188baeac 141Device errors are handled ungracefully.