Re: Partition IDs in the New World TM

H. Peter Anvin (hpa@transmeta.com)
Mon, 22 Jan 2001 22:23:33 -0800


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.
>

It already does that, you know. Nothing inherently wrong, *EXCEPT* that
it breaks a bunch of programs already out there.

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