Page MenuHomeFreeBSD

gpart: add fat32lba MBR partition type
ClosedPublic

Authored by emaste on May 2 2018, 3:00 PM.

Details

Summary

FAT32 with LBA addressing

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emaste created this revision.May 2 2018, 3:00 PM
emaste added inline comments.May 2 2018, 6:25 PM
sys/geom/part/g_part.h
99 ↗(On Diff #42064)

Added "out of order" to avoid issues with mismatched kernel/userland

emaste added inline comments.May 2 2018, 6:29 PM
sys/geom/part/g_part.h
99 ↗(On Diff #42064)

But it's used only in kernel, so will sort in order:

        G_PART_ALIAS_MS_FAT32,          /* A Microsoft FAT32 partition entry. */
+       G_PART_ALIAS_MS_FAT32LBA,       /* A Microsoft FAT32 LBA partition entry */
        G_PART_ALIAS_MS_LDM_DATA,       /* A Microsoft LDM Data part. entry. */
marcel accepted this revision.May 2 2018, 8:09 PM

LGTM

This revision is now accepted and ready to land.May 2 2018, 8:09 PM
This revision was automatically updated to reflect the committed changes.