[Bug 296022] FreeBSD can't mount NetBSD FFSv2 partitions

[email protected] Wed, 08 Jul 2026 05:17:23 +0000
Newsgroups gmane.os.freebsd.devel.file-systems
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296022

--- Comment #6 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3eb80d8d7daf4f14c22dd462d8c4e5b6fc818bd4

commit 3eb80d8d7daf4f14c22dd462d8c4e5b6fc818bd4
Author:     Ricardo Branco <[email protected]>
AuthorDate: 2026-06-13 08:26:58 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2026-07-08 05:16:01 +0000

    ufs: Allow read-only mounting of NetBSD FFSv2 WAPBL filesystems

    Skip UFS2 fs_metaspace upper-bound validation that rejects NetBSD FFSv2
    WAPBL filesystems due to differing superblock layouts.

    Detect the condition during mount instead and permit read-only mounts
    while rejecting read-write mounts with EROFS.  This follows NetBSD's
    recommendation for systems without WAPBL support and avoids modifying
    unsupported journal metadata.

    PR: 296022
    Signed-off-by: Ricardo Branco <[email protected]>
    Reviewed by: imp, kirk
    Pull Request: https://github.com/freebsd/freebsd-src/pull/2279

 sys/ufs/ffs/ffs_subr.c   | 14 +++++++++++++-
 sys/ufs/ffs/ffs_vfsops.c | 27 +++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletion(-)

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