Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2019 23:06:52 +0000 (UTC)
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r350851 - in stable/12/sbin: fsck_ffs newfs
Message-ID:  <201908102306.x7AN6qD4091519@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mckusick
Date: Sat Aug 10 23:06:52 2019
New Revision: 350851
URL: https://svnweb.freebsd.org/changeset/base/350851

Log:
  MFC of 350682
  
  Correct first superblock backup location in fsck_ffs.8.

Modified:
  stable/12/sbin/fsck_ffs/fsck_ffs.8
  stable/12/sbin/newfs/newfs.8
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/fsck_ffs/fsck_ffs.8
==============================================================================
--- stable/12/sbin/fsck_ffs/fsck_ffs.8	Sat Aug 10 23:03:23 2019	(r350850)
+++ stable/12/sbin/fsck_ffs/fsck_ffs.8	Sat Aug 10 23:06:52 2019	(r350851)
@@ -29,7 +29,7 @@
 .\"	@(#)fsck.8	8.4 (Berkeley) 5/9/95
 .\" $FreeBSD$
 .\"
-.Dd May 3, 2019
+.Dd August 10, 2019
 .Dt FSCK_FFS 8
 .Os
 .Sh NAME
@@ -153,7 +153,7 @@ exits without attempting any further cleaning.
 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.
+and block 192 for UFS2.
 .Pp
 See the
 .Fl N

Modified: stable/12/sbin/newfs/newfs.8
==============================================================================
--- stable/12/sbin/newfs/newfs.8	Sat Aug 10 23:03:23 2019	(r350850)
+++ stable/12/sbin/newfs/newfs.8	Sat Aug 10 23:06:52 2019	(r350851)
@@ -111,6 +111,9 @@ for more details on how to set this option.
 .It Fl b Ar block-size
 The block size of the file system, in bytes.
 It must be a power of 2.
+.\" If changing the default block size and it causes the default
+.\" fragment size to change, be sure to update the location of
+.\" the first backup superblock on the fsck_ffs.8 manual page.
 The
 default size is 32768 bytes, and the smallest allowable size is 4096 bytes.
 The optimal block:fragment ratio is 8:1.
@@ -143,6 +146,9 @@ ranging in value between
 .Ar blocksize Ns /8
 and
 .Ar blocksize .
+.\" If changing the default fragment size or it changes because of a
+.\" change to the default block size, be sure to update the location
+.\" of the first backup superblock on the fsck_ffs.8 manual page.
 The default is 4096 bytes.
 .It Fl g Ar avgfilesize
 The expected average file size for the file system.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908102306.x7AN6qD4091519>