MBR partition parsing
Posted: Tue Sep 26, 2017 9:51 pm
Hi guys,
With the discussion over in http://forum.osdev.org/viewtopic.php?f=2&t=32409, I thought it would be wise to test my MBR code.
I allow a depth of up to 127 nested extended partitions, searching each limb until I find a partition entry marked active.
However, something I have always wondered is the fact of what partitioning scheme, using this MBR and extended partition entries, can be used, should be used, or should not be used. For example, a well known name-brand software manufacture allows only one extended entry *and* one regular entry per table, then embeds extended partitions within parent extended partitions. Is this the norm or the requirement? I think the former more than the latter.
Anyway, I placed a few notes and some test code along with a small test image at http://www.fysnet.net/blog/2017/09/.
I would appreciate any comments, posted here of course, about your idea of how a MBR partitioning scheme should/must/can/may be designed.
Also, the code is to test your MBR code. Does your code allow nested partitions?
Thanks,
Ben
With the discussion over in http://forum.osdev.org/viewtopic.php?f=2&t=32409, I thought it would be wise to test my MBR code.
I allow a depth of up to 127 nested extended partitions, searching each limb until I find a partition entry marked active.
However, something I have always wondered is the fact of what partitioning scheme, using this MBR and extended partition entries, can be used, should be used, or should not be used. For example, a well known name-brand software manufacture allows only one extended entry *and* one regular entry per table, then embeds extended partitions within parent extended partitions. Is this the norm or the requirement? I think the former more than the latter.
Anyway, I placed a few notes and some test code along with a small test image at http://www.fysnet.net/blog/2017/09/.
I would appreciate any comments, posted here of course, about your idea of how a MBR partitioning scheme should/must/can/may be designed.
Also, the code is to test your MBR code. Does your code allow nested partitions?
Thanks,
Ben