mdoc(7) police: tidy up the markup.

This commit is contained in:
Ruslan Ermilov 2002-01-10 17:00:36 +00:00
parent cc9ca450b6
commit 2f1b3c5c75

View File

@ -52,9 +52,10 @@ or using an abbreviated name that will be looked up
under under
.Pa /dev .Pa /dev
(e.g.\& (e.g.\&
.Em fd0 ) . .Dq Li fd0 ) .
.Pp .Pp
The options are as follows: The options are as follows:
.\" XXX
.Bl -tag -width 10n -offset indent .Bl -tag -width 10n -offset indent
.It Fl F Ar fill .It Fl F Ar fill
Use Use
@ -62,8 +63,9 @@ Use
as the fill byte for newly formatted sectors. as the fill byte for newly formatted sectors.
.Ar fill .Ar fill
must be a number in the range 0 through 255 using common C must be a number in the range 0 through 255 using common C
language notation. The default value is language notation.
.Em 0xf5 . The default value is
.Dq Li 0xf5 .
.It Fl f Ar fmt .It Fl f Ar fmt
Specify the density settings for a Specify the density settings for a
.Ar fmt .Ar fmt
@ -74,13 +76,13 @@ Specify the density settings using explicit parameters, as
described in described in
.Xr fdcontrol 8 . .Xr fdcontrol 8 .
.It Fl n .It Fl n
Don't verify floppy after formatting. Do not verify floppy after formatting.
.It Fl q .It Fl q
Suppress any normal output from the command, and don't ask the Suppress any normal output from the command, and do not ask the
user for a confirmation whether to format the floppy disk at user for a confirmation whether to format the floppy disk at
.Ar device . .Ar device .
.It Fl v .It Fl v
Don't format, verify only. Do not format, verify only.
.It Fl y .It Fl y
Do not ask for confirmation whether to format the floppy disk but Do not ask for confirmation whether to format the floppy disk but
still report formatting status. still report formatting status.
@ -91,7 +93,8 @@ For non-autoselecting subdevices, neither
nor nor
.Fl s Ar fmtstr .Fl s Ar fmtstr
may be specified, since the preconfigured media density settings may be specified, since the preconfigured media density settings
from the kernel driver will always be used. However, if from the kernel driver will always be used.
However, if
.Ar device .Ar device
is a device with automatic media density selection (see is a device with automatic media density selection (see
.Xr fdc 4 ) , .Xr fdc 4 ) ,
@ -106,20 +109,22 @@ flag has not been specified, the user is asked for a confirmation
of the intended formatting process. of the intended formatting process.
In order to continue, an answer In order to continue, an answer
of of
.Dq y .Ql y
must be given. must be given.
.Pp .Pp
Note that Note that
.Nm .Nm
does only perform low-level formatting. In order to create does only perform low-level formatting.
In order to create
a file system on the medium, see the commands a file system on the medium, see the commands
.Xr newfs 8 .Xr newfs 8
for an for a
.Em ufs .Tn UFS
file system, or file system, or
.Xr newfs_msdos 8 .Xr newfs_msdos 8
for an for an
.Em MS-DOS (FAT) .Tn MS-DOS
(FAT)
file system. file system.
.Sh DIAGNOSTICS .Sh DIAGNOSTICS
Unless Unless
@ -127,16 +132,16 @@ Unless
has been specified, a single letter is printed to standard output has been specified, a single letter is printed to standard output
to inform the user about the progress of work. to inform the user about the progress of work.
First, an First, an
.Sq Em F .Ql F
is printed when the track(s) is being formatted, then a is printed when the track is being formatted, then a
.Sq Em V .Ql V
while it's being verified, and if an error has been detected, it while it is being verified, and if an error has been detected, it
will finally change to will finally change to
.Sq Em E . .Ql E .
Detailed status information (cylinder, head and sector number, and the Detailed status information (cylinder, head and sector number, and the
exact cause of the error) will be printed for up to 10 errors after the exact cause of the error) will be printed for up to 10 errors after the
entire formatting process has completed. entire formatting process has completed.
.Pp .Sh DIAGNOSTICS
An exit status of 0 is returned upon successful operation. An exit status of 0 is returned upon successful operation.
Exit status Exit status
1 is returned on any errors during floppy formatting, and an exit status 1 is returned on any errors during floppy formatting, and an exit status
@ -148,7 +153,9 @@ appropriate information written to diagnostic output).
.Xr newfs 8 , .Xr newfs 8 ,
.Xr newfs_msdos 8 .Xr newfs_msdos 8
.Sh HISTORY .Sh HISTORY
.Nm Fdformat The
.Nm
utility
has been developed for has been developed for
.Bx 386 0.1 .Bx 386 0.1
and upgraded to the new and upgraded to the new