summaryrefslogtreecommitdiffstats
path: root/sbin/badsect
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-07-06 19:34:18 +0000
committercharnier <charnier@FreeBSD.org>2002-07-06 19:34:18 +0000
commita2accd01f0ac2f25d72443923819abceaf128119 (patch)
tree219860332a065e5cb6defc25dab58e4a8c7997cd /sbin/badsect
parent9639b20db64d084fa58b75058a2bd896b1f743e1 (diff)
downloadFreeBSD-src-a2accd01f0ac2f25d72443923819abceaf128119.zip
FreeBSD-src-a2accd01f0ac2f25d72443923819abceaf128119.tar.gz
The .Nm utility
Diffstat (limited to 'sbin/badsect')
-rw-r--r--sbin/badsect/badsect.822
1 files changed, 13 insertions, 9 deletions
diff --git a/sbin/badsect/badsect.8 b/sbin/badsect/badsect.8
index e5d4e9e..89abe88 100644
--- a/sbin/badsect/badsect.8
+++ b/sbin/badsect/badsect.8
@@ -42,8 +42,9 @@
.Nm
.Ar bbdir sector ...
.Sh DESCRIPTION
-.Nm Badsect
-makes a file to contain a bad sector. Normally, bad sectors
+The
+.Nm
+utility makes a file to contain a bad sector. Normally, bad sectors
are made inaccessible by the standard formatter, which provides
a forwarding table for bad sectors to the driver.
If a driver supports the bad blocking standard it is much preferable to
@@ -67,8 +68,9 @@ do not support the bad-blocking standard
.Nm
may be used to good effect.
.Pp
-.Nm Badsect
-is used on a quiet filesystem in the following way:
+The
+.Nm
+utility is used on a quiet filesystem in the following way:
First mount the filesystem, and change to its root directory.
Make a directory
.Li BAD
@@ -97,8 +99,9 @@ This will leave the bad sectors in only the
.Li BAD
files.
.Pp
-.Nm Badsect
-works by giving the specified sector numbers in a
+The
+.Nm
+utility works by giving the specified sector numbers in a
.Xr mknod 2
system call,
creating an illegal file whose first block address is the block containing
@@ -113,8 +116,9 @@ to convert the inode to a regular file containing the bad block.
.Sh SEE ALSO
.Xr fsck 8
.Sh DIAGNOSTICS
-.Nm Badsect
-refuses to attach a block that
+The
+.Nm
+utility refuses to attach a block that
resides in a critical area or is out of range of the filesystem.
A warning is issued if the block is already in use.
.Sh BUGS
@@ -126,5 +130,5 @@ filesystem fragment.
.Sh HISTORY
The
.Nm
-command appeared in
+utility appeared in
.Bx 4.1 .
OpenPOWER on IntegriCloud