From e0402441a143533d33d3c450471b2cd655407d77 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Mon, 28 Jul 2014 20:47:09 +0200 Subject: fdformat: Add new switches -f/--from, -t/--to, -r/--repair This commit introduces a support for user configurable from/to track and a basic repair mode for broken floppies. It also fixes a recently introduced bug that causes a line breakage when printing the track number. Signed-off-by: Karel Zak --- disk-utils/fdformat.8 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'disk-utils/fdformat.8') diff --git a/disk-utils/fdformat.8 b/disk-utils/fdformat.8 index df4153f23..797f50f5c 100644 --- a/disk-utils/fdformat.8 +++ b/disk-utils/fdformat.8 @@ -1,6 +1,6 @@ .\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu) .\" May be distributed under the GNU General Public License -.TH FDFORMAT 8 "July 2011" "util-linux" "System Administration" +.TH FDFORMAT 8 "July 2014" "util-linux" "System Administration" .SH NAME fdformat \- low-level format a floppy disk .SH SYNOPSIS @@ -45,6 +45,15 @@ autodetected earlier. In this case, use to load the disk parameters. .SH OPTIONS .TP +\fB\-f\fR, \fB\-\-from\fR \fIN\fR +Start at the track \fIN\fR (default is 0). +.TP +\fB\-t\fR, \fB\-\-to\fR \fIN\fR +Stop at the track \fIN\fR (default is 0). +.TP +\fB\-r\fR, \fB\-\-repair\fR \fIN\fR +Try to repair tracks failed during the verification (max \fIN\fR retries). +.TP \fB\-n\fR, \fB\-\-no-verify\fR Skip the verification that is normally performed after the formatting. .TP -- cgit v1.2.3-55-g7522