[Bug 279097] /usr/share/zfs/compatibility.d version in files does not correspond to the version in file names

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 May 2024 21:41:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279097

            Bug ID: 279097
           Summary: /usr/share/zfs/compatibility.d version in files does
                    not correspond to the version in file names
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: 000.fbsd@quip.cz

There are files with ZFS features for backward compatibility. Each file has a
first line with a comment with OS version but many files have "Features
supported by FreeBSD 11.3" even if the OS version in file name is different:

# head -n1 /usr/share/zfs/compatibility.d/free*
==> /usr/share/zfs/compatibility.d/freebsd-11.0 <==
# Features supported by FreeBSD 11.0

==> /usr/share/zfs/compatibility.d/freebsd-11.1 <==
# Features supported by FreeBSD 11.0

==> /usr/share/zfs/compatibility.d/freebsd-11.2 <==
# Features supported by FreeBSD 11.2

==> /usr/share/zfs/compatibility.d/freebsd-11.3 <==
# Features supported by FreeBSD 11.3

==> /usr/share/zfs/compatibility.d/freebsd-11.4 <==
# Features supported by FreeBSD 11.3

==> /usr/share/zfs/compatibility.d/freebsd-12.0 <==
# Features supported by FreeBSD 11.3

==> /usr/share/zfs/compatibility.d/freebsd-12.1 <==
# Features supported by FreeBSD 11.3

==> /usr/share/zfs/compatibility.d/freebsd-12.2 <==
# Features supported by FreeBSD 11.3

==> /usr/share/zfs/compatibility.d/freenas-11.0 <==
# Features supported by FreeBSD 11.0

==> /usr/share/zfs/compatibility.d/freenas-11.1 <==
# Features supported by FreeBSD 11.0

==> /usr/share/zfs/compatibility.d/freenas-11.2 <==
# Features supported by FreeBSD 11.2

==> /usr/share/zfs/compatibility.d/freenas-11.3 <==
# Features supported by FreeBSD 11.3

==> /usr/share/zfs/compatibility.d/freenas-9.10.2 <==
# Features supported by FreeNAS 9.10.2


Shouldn't the comment matches the file name?

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