Re: Partition IDs in the New World TM

Matt D. Robinson
2001-01-23T19:20:43Z

Andreas Dilger wrote:
>
> 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.

LKCD starts writing a crash dump after the first page of the swap
partition (if that is used as the dump partition), so I'd hate to see
this implemented.

--Matt