Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2018 15:02:17 -0600
From:      Kyle Evans <kevans@freebsd.org>
To:        Kirk McKusick <mckusick@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r328426 - in head: lib/libufs sbin/clri sbin/dump sbin/fsck_ffs sbin/fsirand sbin/growfs sbin/newfs sbin/quotacheck stand/libsa sys/geom sys/geom/journal sys/geom/label sys/ufs/ffs usr....
Message-ID:  <CACNAnaE-o8iT%2B%2BaHfeG1i1x3C3sULAhFbAYnx5=3qmQGmpju0A@mail.gmail.com>
In-Reply-To: <201801260058.w0Q0wXXP097695@repo.freebsd.org>
References:  <201801260058.w0Q0wXXP097695@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 25, 2018 at 6:58 PM, Kirk McKusick <mckusick@freebsd.org> wrote:
> Author: mckusick
> Date: Fri Jan 26 00:58:32 2018
> New Revision: 328426
> URL: https://svnweb.freebsd.org/changeset/base/328426
>
> Log:
>   Refactoring of reading and writing of the UFS/FFS superblock.
>   Specifically reading is done if ffs_sbget() and writing is done
>   in ffs_sbput(). These functions are exported to libufs via the
>   sbget() and sbput() functions which then used in the various
>   filesystem utilities. This work is in preparation for adding
>   subperblock check hashes.
>
>   No functional change intended.
>
>   Reviewed by: kib

Hi,

This change seems to have had some unintended side-effect:

$ mdconfig -a -t swap -s 10M
$ newfs /dev/md0
$ tunefs -L BUG /dev/md0

This results in a "failed to write superblock." crochet's method of
building images also fails with a "failed to write superblock."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaE-o8iT%2B%2BaHfeG1i1x3C3sULAhFbAYnx5=3qmQGmpju0A>