Re: Partition IDs in the New World TM

From: H. Peter Anvin (hpa@transmeta.com)
Date: Tue Jan 23 2001 - 01:23:33 EST


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/



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