aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2012-02-10 12:01:19 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2012-02-10 12:01:19 +0000
commit92858a92e005e16315da73a8ff5772ca8542def2 (patch)
treeeb55f1c6e710fa2211a008c33af1b784eabfacbc /sbin/fsck_ffs
parentb5d1ccb4705f5d0f1895e447f508bc4ceb9654ba (diff)
downloadsrc-92858a92e005e16315da73a8ff5772ca8542def2.tar.gz
src-92858a92e005e16315da73a8ff5772ca8542def2.zip
Be more helpful about alternate superblocks.
Notes
Notes: svn path=/head/; revision=231377
Diffstat (limited to 'sbin/fsck_ffs')
-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 523cb6543ed8..0513017cd4e2 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 e51c0a906bfc..ae0ea0519e42 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);
}