Commit Graph

18 Commits

Author SHA1 Message Date
joerg
dd1382025f Make fdformat WARN=2 ready. 2001-07-03 21:43:41 +00:00
joerg
bbe2a99582 Use the printstatus() function from ${.CURDIR}/../fdread/fdutil.c to
give a bit more information about up to 10 errors encountered during
formatting (unless -q has been specified, of course).

While being here, removed a bitrotten comment in the Makefile, and
kill the old Emacs local variable stuff at the end of fdformat.c
that's no longer useful anway.
2001-07-02 21:24:03 +00:00
joerg
6b7be17eed Now that we've got it, use FDOPT_NOERRLOG for fdformat and fdwrite to
avoid blasting the syslog with error messages from bad floppies.  Both
tools have their own error reporting anyway (which could easily be
cluttered by the syslog output on your terminal).
2001-06-26 22:19:32 +00:00
joerg
57715b596b Part #2 of the <machine/ioctl_fd.h> => <sys/fdcio.h> move: handle the
tools in usr.sbin/fd*.
2001-06-06 06:16:19 +00:00
phk
3e687d700a fdformat prompts for user confirmation. it exits 0 if the user
doesn't confirm, which needlessly complicates scripts.

PR:		15339
Submitted by:	richard winkel rich@math.missouri.edu
MFC after:	1 week
2001-05-23 20:30:45 +00:00
obrien
c2ee1dcc02 Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
phk
cd07a5410e Add -y option which doesn't ask for confimation, but still shows progress
PR:		9259
Submitted by:	Clark Gaylord <cgaylord@vt.edu>
2000-06-01 22:27:30 +00:00
asmodai
e4e4aa0eea Fix fdformat to not use /dev/r* device nodes anymore, this usage
has been made obsolete by the block/char device merging.

Reflect this change in the manual page and fix the usage of a
backslash in ``e.g.''.

Reviewed by:	bright, sheldonh, phk
2000-01-23 12:49:42 +00:00
kato
7e4f3e4fe7 - Added 640KB and 1232KB formats support.
- Added $FreeBSD$.

Submitted by:	nyan
2000-01-07 09:02:47 +00:00
charnier
79b7395b62 Use err(3). Document options in man page, not in usage string. 1997-09-17 06:32:45 +00:00
rgrimes
4f960dd75f Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
joerg
3346279530 Transfer speed definitions are now also found in <machine/ioctl_fd.h>.
Remove the old include file, since it used to be in a non-public place.
1994-09-25 18:44:26 +00:00
dg
46574152f1 Fix include path. 1994-09-17 17:55:03 +00:00
joerg
8d6528d6e3 Make use of the new FDOPT_NORETRY facility. It does not make sense to
verify formatted tracks with fully retryng. The head should not be moved
in either case.
Also some minor copyright cleanup.
1994-05-22 17:43:34 +00:00
rgrimes
2173d405d8 From: phk@login.dkuug.dk (Poul-Henning Kamp)
Message-Id: <9402201119.AA06430@login.dkuug.dk>
Subject: bug in fdformat.c

There is a bug in fdformat.c: the number of heads are hardcoded in two places.
This is quite inconsequencial at present, but a bug nontheless.
1994-02-20 15:41:59 +00:00
ache
fd0d75862b Fix size of il (interleave) array. 1994-02-10 01:20:28 +00:00
ache
2ac095726f Add interleave > 1 support by Poul-Henning Kamp.
Chack valid range of sectors per track.
1994-02-10 01:15:01 +00:00
ache
9b893dbcb9 We got now floppy formatter 1994-01-26 23:44:34 +00:00