Re: Why aren't partitions limited to fit within the device?
From: Andries Brouwer
Date: Mon Oct 16 2006 - 02:41:20 EST
On Mon, Oct 16, 2006 at 10:08:50AM +1000, Neil Brown wrote:
> Hmmm.. So Alan thinks a partially-outside-this-disk partition
> shouldn't show up at all, and Andries thinks it should.
> And both give reasonably believable justifications.
>
> Maybe we need a kernel parameter?
If you introduce a kernel parameter, let it be one that tells the kernel
to stay away from partitions, so that partitions can be added later by
the partx ioctls.
Now setting up an initrd or so is kind of tricky, not something ordinary users
would want to do, so if it moreover is possible to specify the rootpttype
that would allow an ordinary boot and leave all other block devices untouched.
> Not enabling partitions does not affect partition numbering of
> subsequent partitions.
A funny effect might be that hda5 exists, hda6 does not, and hda7 exists again.
Maybe unexpected for some software.
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/