summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2012-02-10 12:01:19 +0000
committertrasz <trasz@FreeBSD.org>2012-02-10 12:01:19 +0000
commit7bf1094d6b76324d8ab7decb5dc0d06999a72842 (patch)
treeeb55f1c6e710fa2211a008c33af1b784eabfacbc
parent29ea9d1f3b4c6045b8a8adcc89d2bcb0cbef17b9 (diff)
downloadFreeBSD-src-7bf1094d6b76324d8ab7decb5dc0d06999a72842.zip
FreeBSD-src-7bf1094d6b76324d8ab7decb5dc0d06999a72842.tar.gz
Be more helpful about alternate superblocks.
-rw-r--r--sbin/fsck_ffs/fsck_ffs.87
-rw-r--r--sbin/fsck_ffs/setup.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/fsck_ffs.8 b/sbin/fsck_ffs/fsck_ffs.8
index 523cb65..0513017 100644
--- a/sbin/fsck_ffs/fsck_ffs.8
+++ b/sbin/fsck_ffs/fsck_ffs.8
@@ -29,7 +29,7 @@
.\" @(#)fsck.8 8.4 (Berkeley) 5/9/95
.\" $FreeBSD$
.\"
-.Dd April 27, 2011
+.Dd February 10, 2012
.Dt FSCK_FFS 8
.Os
.Sh NAME
@@ -193,6 +193,11 @@ Use the block specified immediately after the flag as
the super block for the file system.
An alternate super block is usually located at block 32 for UFS1,
and block 160 for UFS2.
+.Pp
+See the
+.Fl N
+flag of
+.Xr newfs 8 .
.It Fl C
Check if file system was dismounted cleanly.
If so, skip file system checks (like "preen").
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index e51c0a9..ae0ea05 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -194,7 +194,7 @@ setup(char *dev)
"-b OPTION TO FSCK TO SPECIFY THE",
"LOCATION OF AN ALTERNATE",
"SUPER-BLOCK TO SUPPLY NEEDED",
- "INFORMATION; SEE fsck(8).");
+ "INFORMATION; SEE fsck_ffs(8).");
bflag = 0;
return(0);
}
OpenPOWER on IntegriCloud