Re: Partition IDs in the New World TM

H. Peter Anvin (hpa@zytor.com)
22 Jan 2001 15:35:14 -0800


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."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/