git: hammer2 - Do not exit on a bad volume header if others are good
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jun 14 13:20:35 PDT 2021
commit 8a8934f176e90606637cdde94352128409abc188
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Jun 14 12:58:22 2021 -0700
hammer2 - Do not exit on a bad volume header if others are good
* Do not exit if a bad volume header is encountered if others
are good. We only punt if none of the four volume headers is
good.
The point of having four is to be able to mount / access the filesystem
even if one has become corrupted.
Summary of changes:
sbin/hammer2/ondisk.c | 77 ++++++++++++++++++++++++++++++++++-----------------
1 file changed, 52 insertions(+), 25 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8a8934f176e90606637cdde94352128409abc188
--
DragonFly BSD source repository
More information about the Commits
mailing list