[Bug 265162] fsck_ffs(8) core dumps with a mangled FS

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 16 Jul 2022 00:38:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265162

Kirk McKusick <mckusick@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mckusick@FreeBSD.org

--- Comment #1 from Kirk McKusick <mckusick@FreeBSD.org> ---
Created attachment 235285
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235285&action=edit
Proposed fix

This adds a check to the superblock validation code that checks for this case.
The result is that fsck_ffs bails on the filesystem because it does not know
how to fix it. In this case the only way to recover is to specify an
alternative superblock. This particular filesystem image does not have the
parameters set up to allow fsck to do that itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.