BSD 4_1c_2 development
[unix-history] / usr / man / man8 / arff.8
CommitLineData
0743960f
C
1.TH ARFF 8V "28 February 1983"
2.UC 4
3.SH NAME
4arff, flcopy \- archiver and copier for floppy
5.SH SYNOPSIS
6.B /etc/arff
7[ key ] [ name ... ]
8.br
9.B /etc/flcopy
10[
11.B \-h
12] [
13\fB\-t\fIn\fR
14]
15.SH DESCRIPTION
16.I Arff
17saves and restores files
18on the console floppy disk.
19Its actions are controlled by the
20.I key
21argument.
22The
23.I key
24is a string of characters containing
25at most one function letter and possibly
26one or more function modifiers.
27Other arguments to the command are file
28names specifying which files are to be dumped or restored.
29.PP
30Files names have restrictions, because of radix50 considerations. They
31must be in the form 1-6 alphanumerics followed by "." followed by
320-3 alphanumerics. Case distinctions are lost. Only the trailing component
33of a pathname is used.
34.PP
35The function portion of
36the key is specified by one of the following letters:
37.TP 8
38.B r
39The named files
40are replaced where found on the floppy, or added taking up
41the minimal possible portion of the first empty spot on the floppy.
42.TP 8
43.B x
44The named files are extracted from the floppy.
45.TP 8
46.B d
47The named files are deleted from the floppy. Arff will combine contiguous
48deleted files into one empty entry in the rt-11 directory.
49.TP 8
50.B t
51The names of the specified files are listed each time they occur
52on the floppy.
53If no file argument is given,
54all of the names on the floppy are listed.
55.PP
56The following characters may be used in addition to the letter
57which selects the function desired.
58.TP 10
59.B v
60Normally
61.I arff
62does its work silently.
63The
64.B v
65(verbose)
66option causes it to type the name of each file it treats
67preceded by the function letter.
68With the
69.B t
70function,
71.B v
72gives more information about the
73floppy entries than just the name.
74.TP 10
75.B f
76causes
77.I arff
78to use the next argument as the name of the archive instead
79of /dev/floppy.
80.TP 10
81.B m
82causes
83.I arff
84not to use the mapping algorithm employed in interleaving sectors
85around a floppy disk. In conjunction with the
86.B f
87option it may be
88used for extracting files from rt11 formatted cartridge disks, for
89example.
90.TP 10
91.B c
92causes
93.I arff
94to create a new directory on the floppy, effectively deleting
95all previously existing files.
96.PP
97.I Flcopy
98copies
99the console floppy disk
100(opened as `/dev/floppy')
101to a file created in the
102current directory, named \*(lqfloppy\*(rq,
103then prints the message
104\*(lqChange Floppy, hit return when done\*(rq.
105Then
106.I flcopy
107copies the local file back out to the floppy disk.
108.PP
109The
110.B \-h
111option to
112.I flcopy
113causes it to
114open a file named \*(lqfloppy\*(rq in the current directory
115and copy it to
116.I /dev/floppy;
117the
118.B \-t
119option
120causes only the first
121.I n
122tracks to participate in a copy.
123.PP
124.I Arff
125may also be used with the console TU58 cassettes on the 11/730.
126To do so, the
127.B m
128key must be specified. Normally, the
129.B f
130key is also used.
131.SH FILES
132/dev/floppy
133.br
134floppy (in current directory)
135.SH AUTHORS
136Keith Sklower, Richard Tuck
137.SH BUGS
138Floppy errors are handled ungracefully;
139.I Arff
140does not handle multi-segment rt11 directories.