]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Support geometry
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 15 Sep 2010 12:11:08 +0000 (14:11 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 15 Sep 2010 12:11:08 +0000 (14:11 +0200)
grub-core/lib/legacy_parse.c

index e5014cdc789bbfc00d8adff39f251f1d0527cbb7..a0be27d60fbdf24f60741f7ccb0dd79e078cd585 100644 (file)
@@ -118,7 +118,9 @@ struct legacy_command legacy_commands[] =
      "Search for the filename FILENAME in all of partitions and print the list of"
      " the devices which contain the file."},
     /* FIXME: fstest unsupported.  */
-    /* FIXME: geometry unsupported.  */
+    /* NOTE: The obsolete C/H/S geometry isn't shown anymore.  */
+    {"geometry", "insmod regexp; ls -l (%s*)\n", NULL, 0, 1, {TYPE_VERBATIM}, 0, "DRIVE",
+     "Print the information for a drive DRIVE. "},
     {"halt", "halt %s\n", NULL, 0, 1, {TYPE_NOAPM_OPTION}, 0, "[--no-apm]",
      "Halt your system. If APM is available on it, turn off the power using"
      " the APM BIOS, unless you specify the option `--no-apm'."},