Copies to and from diskettes.
The flcopy command copies a diskette (opened as /dev/rfd0) to a file named floppy created in the current directory, then prints the message: Change floppy, hit return when done. The flcopy command then copies the floppy file to the diskette. You can specify the -f, -h, -r, or -tNumber flag to modify the behavior of the flcopy command.
Item | Description |
---|---|
-f Device | Allows you to specify a drive other than /dev/rfd0. |
-h | Causes the flcopy command to open the floppy file in the current directory and copy it to /dev/rfd0. |
-r | Tells the flcopy command to exit after copying the diskette to the floppy file in the current directory. |
-t Number | Causes only the specified Number of tracks to be copied. The tracks copied always begin with the first tracks on the diskette. |
This command returns the following exit values:
Item | Description |
---|---|
0 | Successful completion. |
>0 | An error occurred. |
Item | Description |
---|---|
/usr/sbin/flcopy | Contains the flcopy command. |