2N/A * GRUB -- GRand Unified Bootloader 2N/A * Copyright (C) 2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. 2N/A * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * GRUB is free software: you can redistribute it and/or modify 2N/A * it under the terms of the GNU General Public License as published by 2N/A * the Free Software Foundation, either version 3 of the License, or 2N/A * (at your option) any later version. 2N/A * GRUB is distributed in the hope that it will be useful, 2N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 2N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2N/A * GNU General Public License for more details. 2N/A * You should have received a copy of the GNU General Public License 2N/A /* In case of LVM/RAID, check the member devices as well. */ 2N/A /* In case of LVM/RAID, check the member devices as well. */ 2N/A /* disk might be NULL in the case of a LVM physical volume with no LVM 2N/A signature. Ignore such cases here. */ 2N/A/* Since OF path names can have "," characters in them, and GRUB 2N/A internally uses "," to indicate partitions (unlike OF which uses 2N/A ":" for this purpose) we escape such commas. */ 2N/A while ((c = *p++) !=
'\0')
2N/A/* Do not do this on Solaris for now */ 2N/A /* FIXME: Add ARC hint. */ 2N/A /* Check if dev->disk itself is contained in a partmap. */ 2N/AUsage: %s [OPTION]... [PATH|DEVICE]\n\ 2N/AProbe device information for a given path (or device, if the -d option is given).\n\ 2N/A -d, --device given argument is a system device, not a path\n\ 2N/A -m, --device-map=FILE use FILE as the device map [default=%s]\n\ 2N/A -t, --target=(fs|fs_uuid|fs_label|drive|device|partmap|abstraction|cryptodisk_uuid)\n\ 2N/A print filesystem module, GRUB drive, system device, partition map module, abstraction module or CRYPTO UUID [default=fs]\n\ 2N/A -h, --help display this message and exit\n\ 2N/A -V, --version print version information and exit\n\ 2N/A -v, --verbose print verbose messages\n\ 2N/AReport bugs to <%s>.\n\ 2N/A /* Check for options. */ 2N/A /* Obtain ARGUMENT. */ 2N/A /* Initialize the emulated biosdisk driver. */ 2N/A /* Initialize all modules. */ 2N/A /* Free resources. */