Page MenuHomeFreeBSD

sysutils/grub2-bhyve: Add support for additional EXT4 incompatible features
ClosedPublic

Authored by oshogbo on Mar 3 2026, 3:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 5, 3:42 PM
Unknown Object (File)
Sat, Apr 4, 4:32 PM
Unknown Object (File)
Thu, Mar 26, 6:23 AM
Unknown Object (File)
Sun, Mar 22, 11:54 PM
Unknown Object (File)
Sat, Mar 14, 8:44 PM
Unknown Object (File)
Sat, Mar 14, 12:08 AM
Unknown Object (File)
Thu, Mar 12, 7:08 PM
Unknown Object (File)
Wed, Mar 11, 6:11 AM
Subscribers

Details

Summary

Handle the following EXT4 incompatible features:

EXT4_FEATURE_INCOMPAT_MMP (Multi-Mount Protection)
Prevents multiple read-write mounts of the same filesystem.
Since grub2-bhyve mounts filesystems read-only, it is safe to ignore.

EXT4_FEATURE_INCOMPAT_CSUM_SEED
Allows tools such as tune2fs to change the UUID on a mounted
metadata-checksummed filesystem. Safe to ignore because the
driver does not perform checksum verification.

EXT4_FEATURE_INCOMPAT_LARGEDIR
Enables directories larger than 2GB and 3-level htrees.
Safe to ignore because the GRUB ext2 driver does not implement
DIR_INDEX.

This patch mirrors upstream behavior. It unblocks booting from
distributions such as Alpine Linux.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

oshogbo created this revision.
oshogbo retitled this revision from Add support for additional EXT4 incompatible features to grub2-bhyve: Add support for additional EXT4 incompatible features.Mar 3 2026, 3:35 PM
oshogbo retitled this revision from grub2-bhyve: Add support for additional EXT4 incompatible features to sysutils/grub2-bhyve: Add support for additional EXT4 incompatible features.

@lwhsu Do you want me to close this review?

The only thing we need more is bump the PORTREVISION.

This revision is now accepted and ready to land.Thu, Apr 9, 8:29 AM

@oshogbo I think you can commit this, as you're earlier than the patch is created to https://bugs.freebsd.org/286702 , btw, the current policy is that the cross-repo commit is encouraged and no really need explicitly approval. Of course, asking review is still encouraged, just like in any repository.