From 92858a92e005e16315da73a8ff5772ca8542def2 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Fri, 10 Feb 2012 12:01:19 +0000 Subject: Be more helpful about alternate superblocks. --- sbin/fsck_ffs/fsck_ffs.8 | 7 ++++++- sbin/fsck_ffs/setup.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'sbin/fsck_ffs') 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); } -- cgit v1.2.3