Re: Partition IDs in the New World TM

Andreas Dilger (adilger@turbolinux.com)
Mon, 22 Jan 2001 21:47:51 -0700 (MST)


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