Skip to contentSkip to conversation

fdformat fixes

GIT PULL Applied Sami Kerola 2 participants 2 messages Jul 11, 2011 – Jul 18, 2011 Util-Linux package

lore
Share & tools
lore
#0 lore raw

The following changes since commit 365acc97654d33a01698ada9bf18fbbdce7d88cc:

fdisk: use a single variable for the current disklabel (2011-07-11
12:01:42 +0200)

are available in the git repository at:
https://github.com/kerolasa/lelux-utiliteetit fdformat

Sami Kerola (7):
fdformat: use libc error printing facilities
fdformat: use long options
fdformat: integer comparisons & unused parameter
fdformat: use xalloc.h
fdformat: include-what-you-use header check
fdformat: coding style
docs: add long options to fdformat.8

 disk-utils/fdformat.8 |   18 ++--
 disk-utils/fdformat.c |  253 ++++++++++++++++++++++++++-----------------------
 2 files changed, 147 insertions(+), 124 deletions(-)
disk-utils/fdformat.8 +11 -7
index 7b6e262..0fa9e8d 100644
@@ -1,12 +1,11 @@
 .\" Copyright 1992, 1993 Rickard E. Faith ([email protected])
 .\" May be distributed under the GNU General Public License
-.TH FDFORMAT 8 "1 February 1993" "Linux 0.99" "Linux Programmer's Manual"
+.TH FDFORMAT "8" "July 2011" "util-linux" "System Administration Utilities"
 .SH NAME
 fdformat \- Low-level formats a floppy disk
 .SH SYNOPSIS
 .B fdformat
-.RB [ \-n ]
-.I device
+[\fIoptions\fR] \fIdevice\fR
 .SH DESCRIPTION
 .B fdformat
 does a low level format on a floppy disk.
@@ -25,7 +24,7 @@ minor is shown for informational purposes only):
 /dev/fd0h360  (minor = 20)
 /dev/fd0h720  (minor = 24)
 /dev/fd0H1440 (minor = 28)
-
+.PP
 /dev/fd1d360  (minor = 5)
 /dev/fd1h1200 (minor = 9)
 /dev/fd1D360  (minor = 13)
@@ -37,19 +36,24 @@ minor is shown for informational purposes only):
 /dev/fd1H1440 (minor = 29)
 .RE
 .fi
-
+.PP
 The generic floppy devices, /dev/fd0 and /dev/fd1, will fail to work with
 .B fdformat
 when a non-standard format is being used, or if the format has not been
 autodetected earlier.  In this case, use
 .BR setfdprm (8)
 to load the disk parameters.
-
 .SH OPTIONS
 .TP
-.B \-n
+\fB\-n\fR, \fB\-\-no\-verify\fR
 No verify.  This option will disable the verification that is performed
 after the format.
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Output version information and exit.
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Display help and exit.
 .SH "SEE ALSO"
 .BR fd (4),
 .BR setfdprm (8),
disk-utils/fdformat.c +136 -117

283 lines not on this page · raw message

Signature · 2 lines
   Sami Kerola
   http://www.iki.fi/kerolasa/
maintainer Applied
#1 lore raw
Quoted 17 lines · Sami Kerola

The following changes since commit 365acc97654d33a01698ada9bf18fbbdce7d88cc:

fdisk: use a single variable for the current disklabel (2011-07-11
12:01:42 +0200)

are available in the git repository at:
https://github.com/kerolasa/lelux-utiliteetit fdformat

Sami Kerola (7):
fdformat: use libc error printing facilities
fdformat: use long options
fdformat: integer comparisons & unused parameter
fdformat: use xalloc.h
fdformat: include-what-you-use header check
fdformat: coding style
docs: add long options to fdformat.8

Quoted 3 lines
 disk-utils/fdformat.8 |   18 ++--
 disk-utils/fdformat.c |  253 ++++++++++++++++++++++++++-----------------------
 2 files changed, 147 insertions(+), 124 deletions(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com