/dev/r<FOO> => /dev/<FOO>

This commit is contained in:
David E. O'Brien 2000-04-26 11:52:44 +00:00
parent 88dd5f4188
commit 6ed16f20c3
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ is useful for shell scripts.
Input file to read. If none is given, stdin is assumed.
.It Fl d Ar device
The name of the floppy device to write to. Default is
.Pa /dev/rfd0 .
.Pa /dev/fd0 .
.El
.Nm Fdwrite
@ -81,7 +81,7 @@ was planned as a tool to make life easier when writing a set of floppies,
one such use could be to write a tar-archive:
.ce 1
tar cf - . | gzip -9 | fdwrite -d /dev/rfd0.1720 -v
tar cf - . | gzip -9 | fdwrite -d /dev/fd0.1720 -v
The main difference from using
.Xr tar 1 's

View File

@ -66,7 +66,7 @@ main(int argc, char **argv)
int inputfd = -1, c, fdn = 0, i,j,fd;
int bpt, verbose=1, nbytes=0, track;
int interactive = 1;
char *device= "/dev/rfd0", *trackbuf = 0,*vrfybuf = 0;
char *device= "/dev/fd0", *trackbuf = 0,*vrfybuf = 0;
struct fd_type fdt;
FILE *tty;