Page MenuHomeFreeBSD

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

Authored by oshogbo on Tue, Mar 3, 3:34 PM.

Details

Reviewers
hrs
fluffy
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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 71154
Build 68037: arc lint + arc unit

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.Tue, Mar 3, 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.