Re: Partition IDs in the New World TM

Andreas Dilger
2001-01-23T04:48:49Z

H. Peter Anvin writes:
> We have:
>
> 0x82 - Linux swap
> 0x83 - Linux filesystem
> 0x85 - Linux extended partition (yes, this one does matter!)
>
> 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.

What would be wrong with changing the kernel to skip the first page of
swap, and allowing us to put a signature there? This would be really
useful for systems that mount ext2 filesystems by LABEL or UUID. With
the exception of swap, you currently don't need to care about what disk
a filesystem is on. Of course, LVM also fixes this, but not everyone
runs LVM.

Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert