Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Oct 2019 20:33:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 240998] gpart(8) detects exFAT fs as MBR
Message-ID:  <bug-240998-227-VNGjd03djs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240998-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240998-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240998

--- Comment #6 from Conrad Meyer <cem@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 presen=
t 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240998-227-VNGjd03djs>