Skip to content

Verify newfs_fskit volumes are checksum-clean on Linux #7

Description

@rayhanadev

lwext4's mkfs sets the csum_seed incompat bit (0x2000) but doesn't actually enable metadata_csum, and it seeds checksums from the UUID regardless of s_checksum_seed. We handle that fine on our side now — 0.1.1 stopped wrongly degrading these volumes to read-only. But I haven't checked what Linux makes of a volume newfs_fskit produced.

Someone should newfs_fskit -t ext4 a volume, then e2fsck -f it from a Linux box and confirm it comes back clean. If e2fsck complains about the seed / checksums, the right fix is probably to not set that incompat bit at mkfs time at all (an lwext4 patch), or to write a correct seed.

Filing this so the "plays nice with Linux" promise is actually verified for the format path, not just for mounting drives Linux already made.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions