After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685871 - g-d-u creates an MBR partition of type 0x83 (Linux) when creating a FAT partition
g-d-u creates an MBR partition of type 0x83 (Linux) when creating a FAT parti...
Status: RESOLVED FIXED
Product: gnome-disk-utility
Classification: Core
Component: Disks UI
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-disk-utility-maint
gnome-disk-utility-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-10 11:11 UTC by Lennart Poettering
Modified: 2012-11-06 17:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lennart Poettering 2012-10-10 11:11:56 UTC
I just tried to format a 400GB hard disk with an empty MBR partition table and then created a single big FAT file system in it. This worked fine except that the partition ID field of the partition was 0x83 (Linux) afterwards, rather than 0xb or 0xc or something like that for FAT32.

For compatibility reasons g-d-u should probably set the right IDs.
Comment 1 Lennart Poettering 2012-10-10 11:12:08 UTC
$ rpm -qf /usr/bin/gnome-disks
gnome-disk-utility-3.6.1-1.fc18.x86_64
Comment 2 David Zeuthen (not reading bugmail) 2012-10-10 14:21:12 UTC
Yeah, that's not a bad idea although I think other OSes (recent OS X and Windows, anyway) are just fine with type 0x83.
Comment 3 David Zeuthen (not reading bugmail) 2012-11-06 17:18:32 UTC
OK, I've done this, see

 http://cgit.freedesktop.org/udisks/commit/?id=6a4f4897858439a73a0d0c3b0d6f1e08f7b7a1f9
 http://git.gnome.org/browse/gnome-disk-utility/commit/?id=c839b1f04ef1ebb9f56c1c4759ceceec501e9275

Right now it works for vfat, ntfs, swap, ext[234], xfs, btrfs, luks on DOS and GPT partition tables. This will be in udisks 2.1 and gnome-disk-utility 3.8.