[Bug 240998] gpart(8) detects exFAT fs as MBR

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 2 20:33:56 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240998

--- Comment #6 from Conrad Meyer <cem at freebsd.org> ---
+1 to everything ae@ has already mentioned.

exFAT (FAT in general) has a DOS MBR boot block at the beginning of the
filesystem image.  gpart is for managing partitions.

I understand the confusion, but printing "MBR" when an MBR header is present is
a broadly reasonable interpretation of a FAT filesystem header by a tool
looking for MBR or GPT partitions.  I'd suggest not putting filesystems on
unpartitioned disks, or just not invoking gpart on unpartitioned disks.

file(1) is contrib code, there's some upstream a bug can be reported at.

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


More information about the freebsd-bugs mailing list