Re: Partition IDs in the New World TM

H. Peter Anvin
2001-01-22T23:36:17Z

Followup to: <3A6CB49E.75B8937D@conectiva.com.br>
By author: Andrew Clausen <clausen@conectiva.com.br>
In newsgroup: linux.dev.kernel
>
> > Apart from
> > that, the kernel couldn't care. You could set all your Ext2 partitions
> > as ID 82, your swap as ID 83 and Linux would carry on as if nothing had
> > changed.
>
> Exactly. So, for new disk labels, or whatever, we should recommend to
> the relevant hackers that we have exactly one number for Linux. Or
> what?
>

We have:

0x82 - Linux swap
0x83 - Linux filesystem
0x85 - Linux extended partition (yes, this one does matter!)

0x81 isn't Linux, but rather a Minix partition ID.

There seems to be some value in having a different value for swap. It
lets an automatic program find a partition that does not contain data.

-hpa

--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."