Re: [PATCH] Ignore partition table on device

From: H. Peter Anvin
Date: Sat Jun 02 2007 - 18:21:52 EST


Jonathan Schleifer wrote:
> "H. Peter Anvin" <hpa@xxxxxxxxx> wrote:
>
>> This seems broken. If nothing else, there should be ways to enable or
>> disable this at runtime.
>
> What exactly do you consider broken?
> I don't really see a way to change that at runtime since hard disk
> partition tables are read at bootup. Or did you mean to change the
> device where the partition table should be ignored at runtime, so one
> could enable/disable it and reattach the device under the condition
> that it's a removable device?

Partition tables aren't just read at bootup. We also adjust partition
tables at runtime. Since this is dynamic, ignoring partition tables
should be, too.

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