summaryrefslogtreecommitdiffstats
path: root/disk-utils/fdformat.8
diff options
context:
space:
mode:
authorJaromir Capik2014-07-28 20:47:09 +0200
committerKarel Zak2014-07-29 13:44:04 +0200
commite0402441a143533d33d3c450471b2cd655407d77 (patch)
tree620657db417fb29b209584eb0cb7d499a03a6750 /disk-utils/fdformat.8
parentdocs: update TODO (diff)
downloadkernel-qcow2-util-linux-e0402441a143533d33d3c450471b2cd655407d77.tar.gz
kernel-qcow2-util-linux-e0402441a143533d33d3c450471b2cd655407d77.tar.xz
kernel-qcow2-util-linux-e0402441a143533d33d3c450471b2cd655407d77.zip
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 <kzak@redhat.com>
Diffstat (limited to 'disk-utils/fdformat.8')
-rw-r--r--disk-utils/fdformat.811
1 files changed, 10 insertions, 1 deletions
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