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....
Kyle Evans
kevans at freebsd.org
Fri Feb 2 21:25:47 UTC 2018
On Thu, Jan 25, 2018 at 6:58 PM, Kirk McKusick <mckusick at 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."
More information about the svn-src-all
mailing list