Re: Partition IDs in the New World TM

From: Brian Gerst (bgerst@didntduck.org)
Date: Mon Jan 22 2001 - 11:32:31 EST


Andrew Clausen wrote:
>
> Hi all,
>
> We have roughly 10 different types of partition tables. We hate
> them, but it looks like they won't be going away for a long time.
>
> Partition IDs seem to create a lot of confusion. For example,
> most people use 0x83 for both ext2 and reiserfs, on msdos
> partition tables. People use "Apple_UNIX_SVR2" for ext2 on
> Mac, etc.
>
> Linux doesn't really use partition IDs. Well, not entirely
> true... it's used on Mac's as a heuristic, for finding swap
> devices, etc. - but I think this unnecessary.
>
> LVM also uses it, but I also think it's unnecessary.
>
> So, can anyone remember why we have partition IDs? (as opposed
> to just probing for signatures on the fs) If new partition table
> types come out (which is happening, believe it or not...), how
> should Linux/fdisk/parted handle IDs? Should we have one Linux
> type, that we use for everything? Should we have one type for each
> TYPE of data (file system, swap, logical volume physical device, etc.)?

For compatability with dual booting other operating systems. Would you
want Windows walking over your ext2 filesystems? Linux didn't invent
the partition table schemes, it just borrows from those that are most
common for a given architecture (ie. msdos on PC compatable systems,
etc.)

--

Brian Gerst - 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/



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:25 EST