dankamongmen / growlight

notcurses block device manager / system installation tool
https://nick-black.com/dankwiki/index.php/Growlight
GNU General Public License v3.0
85 stars 12 forks source link

Navigating to metadata zone in detail block gets moved back to non-metadata #37

Closed dankamongmen closed 4 years ago

dankamongmen commented 4 years ago

If I have a blcok device with metadata followed by partitioned space (like any GPT device), and I navigate to the metadata area, within a second I'm moved back to the next non-metadata zone. Not sure when this started.

dankamongmen commented 4 years ago

It looks like b->zone is getting unset in update_blockobj(). This presumably started when we added diskstats, casuing devices to be updated regularly.

dankamongmen commented 4 years ago

I've got it working on the right side now for GPT devices, but not on the left side. It all has to do with zoneno == 0 being interpreted differently, probably for initial placement of selectors?

dankamongmen commented 4 years ago

Fixed in the dankamongmen/ui-fixes-1.1.1 branch.