:: Re: [DNG] Partitions: philosophical…
Top Page
Delete this message
Reply to this message
Author: R A Montante, Ph.D.
Date:  
To: dng
Subject: Re: [DNG] Partitions: philosophical question
> Date: Tue, 24 Mar 2026 15:08:55 +0100 From: Didier Kryn
> <kryn@???> Subject: Re: [DNG] Partitionins; philsophical question
> Le 24/03/2026 ? 12:58, Alessandro Vesely via Dng a ?crit?:
>> I was never saw types indicated by numbers.? What are they?
> I only knew of the first 2 hex digits and never saw the two others in
> any application (fdisk, cfdisk, gparted).


From my digging (into wikipedia), it seems that MBR used one byte for a
partition type to indicated its intended use --- 0x07 for NTFS, 0x0b for
FAT32, etc. GPT actually uses 16 bytes for a partition's Globally Unique
IDentifier.

The on my excalibur installation the "gdisk" program (on an
MBR-formatted disk, e.g.USB stick) converts the single byte into a
two-byte value by appending 0x00 or some other subtype value. This is
actually just a convenient "shorthand" for that 16-byte GUID.  On the
other hand, the current incarnation of "fdisk" shows the entire value,
for a long list of partition types.  It doesn't admit knowledge of NTFS,
for some reason.

Presumably, various operating systems or disk formatters can make use of
this information for their own fell purposes (insert evil grin).

-- 
"'Curiouser and curiouser!' cried Alice"
     - Lewis Carroll, "Alice's Adventures in Wonderland"