Integrate grestore functionality for global repair into fmadm
Need to make fmadm repair global
work in fmadm
. The repair functionality is currently in grestore.c
, but it will need to be refactored into a function in fma_globals.c
. The functionality of this one is currently all in the main
function, so we'll need to figure out how to split out argument parsing logic from actual global repair.
Also, the existing utility does not repair a global in-place, and instead will apply repairs to a brand-new global database file, so this really must require the user to put FreeM into maintenance mode before proceeding.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information