On Fri, Oct 11, 2013 at 02:45:57PM +1100, Craig wrote: > On Thu, 10 Oct 2013, Karel Zak <kzak@xxxxxxxxxx> wrote: > > >Note that in v2.24 the GPT code in fdisk does not allow to write hybrid > >GPT, the support is read-only. > > Hmm; not good for the long term. Although a hack and potentially disastrous It's temporary solution. The long term goal is to support *manual* protective/hybrid MBR modification. It means that user will be able in expert mode switch to MBR, modify and write MBR to the device and then switch back to GPT. The GPT driver will only print warning, but no overwrite the manually modified MBR. > if not handled carefully, hybrid MBR really is necessary under certain > conditions. Perhaps support should be read-only by default, with a means to > switch to write, and dire warnings that one is likely severely to break > things if one isn't careful? Although it could be argued that those likely > to be playing with fdisk (rather e.g. than Partid) might be expected to know > what they're doing. :D To be honest, I'd like to see a means completely to > separate GPT/MBR changes, so if necessary one could do absolutely anything > to either without affecting the other. If somebody is playing around with > both, then really they should expect to understand what will happen if > they're careless. Yep. I don't want any "smart" solution there. All will be controlled by users. (Well, in the default mode for non-expert users with standard PMBR we will generate the MBR as expected by UEFI specification of course.) Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html