NetBSD/usr.sbin/flcopy/flcopy.8

84 lines
2.8 KiB
Groff
Raw Normal View History

.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)flcopy.8 5.2 (Berkeley) 4/20/91
.\"
.TH FLCOPY 8 "April 20, 1991"
.UC 4
.SH NAME
flcopy \- floppy copy
.SH SYNOPSIS
.nf
.ft B
flcopy [ \-hr ] [ \-f file ] [ \-t ntracks ]
.ft R
.fi
.SH DESCRIPTION
.I Flcopy
copies the console floppy disk (``/dev/floppy'') to a file in the
current directory, named ``floppy''.
The user is then prompted to change the floppy, and enter a carriage
return when done.
When a carriage return is entered,
.I flcopy
copies the file out to the floppy disk.
.PP
The options are as follows:
.TP
\-f
Use
.I file
instead of ``/dev/floppy''.
.TP
-h
Cause
.I flcopy
to copy a file named ``floppy'' in the current directory to
the console floppy disk.
.TP
\-r
Cause
.I flcopy
to copy the floppy to the current directory and then quit.
.TP
\-t
Copy only the first
.I ntracks
tracks.
.SH FILES
floppy temporary file name
.br
/dev/floppy default floppy device
.SH SEE ALSO
crl(4), fl(4), rx(4), tu(4), arff(8), rxformat(8)
.SH BUGS
Device errors are handled ungracefully.