grub-fstest.c revision 2
2N/A/* grub-fstest.c - debug tool for filesystem driver */
2N/A * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
2N/A#include "progname.h"
2N/Astatic grub_err_t
2N/Astatic int uncompress = 0;
2N/A if (uncompress == 0)
2N/Astatic int args_count = 0;
2N/Astatic int mount_crypt = 0;
2N/A if (mount_crypt)
2N/A grub_lvm_fini ();
2N/A grub_raid_fini ();
2N/A grub_raid_init ();
2N/A grub_lvm_init ();
2N/A case CMD_ZFSINFO:
2N/A case CMD_BLOCKLIST:
2N/A case CMD_TESTLOAD:
2N/A case CMD_XNU_UUID:
2N/A if (args_count != 0)
2N/A case ARGP_KEY_END:
2N/A case ARGP_KEY_ARG:
2N/A return ARGP_ERR_UNKNOWN;
2N/A if (args_count == 0)
2N/A args_count++;
2N/A args_count++;
2N/A args_count++;
2N/A grub_init_all ();
2N/A alloc_root = 0;
2N/A if (alloc_root)
2N/A grub_fini_all ();