This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / usr.sbin / flcopy / flcopy.8
CommitLineData
15637ed4
RG
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\" must display the following acknowledgement:
14.\" This product includes software developed by the University of
15.\" California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\" may be used to endorse or promote products derived from this software
18.\" without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)flcopy.8 5.2 (Berkeley) 4/20/91
33.\"
34.TH FLCOPY 8 "April 20, 1991"
35.UC 4
36.SH NAME
37flcopy \- floppy copy
38.SH SYNOPSIS
39.nf
40.ft B
41flcopy [ \-hr ] [ \-f file ] [ \-t ntracks ]
42.ft R
43.fi
44.SH DESCRIPTION
45.I Flcopy
46copies the console floppy disk (``/dev/floppy'') to a file in the
47current directory, named ``floppy''.
48The user is then prompted to change the floppy, and enter a carriage
49return when done.
50When a carriage return is entered,
51.I flcopy
52copies the file out to the floppy disk.
53.PP
54The options are as follows:
55.TP
56\-f
57Use
58.I file
59instead of ``/dev/floppy''.
60.TP
61-h
62Cause
63.I flcopy
64to copy a file named ``floppy'' in the current directory to
65the console floppy disk.
66.TP
67\-r
68Cause
69.I flcopy
70to copy the floppy to the current directory and then quit.
71.TP
72\-t
73Copy only the first
74.I ntracks
75tracks.
76.SH FILES
77floppy temporary file name
78.br
79/dev/floppy default floppy device
80.SH SEE ALSO
81crl(4), fl(4), rx(4), tu(4), arff(8), rxformat(8)
82.SH BUGS
83Device errors are handled ungracefully.