Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2022 00:38:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 265162] fsck_ffs(8) core dumps with a mangled FS
Message-ID:  <bug-265162-3630-uFBcQYevcM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-265162-3630@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265162-3630-uFBcQYevcM>