* docs/grub.texi (Commands): Document reduced command set in rescue

mode.
(cpuid): New section.
This commit is contained in:
Colin Watson 2010-06-13 13:17:23 +01:00
parent fcb2d09011
commit b5309cc1b2
2 changed files with 25 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2010-06-13 Colin Watson <cjwatson@ubuntu.com>
* docs/grub.texi (Commands): Document reduced command set in rescue
mode.
(cpuid): New section.
2010-06-13 Grégoire Sutre <gregoire.sutre@gmail.com> 2010-06-13 Grégoire Sutre <gregoire.sutre@gmail.com>
* kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Use the * kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Use the

View file

@ -1378,6 +1378,10 @@ the global section of the configuration file (or ``menu''); most
of them can be entered on the command-line and can be used either of them can be entered on the command-line and can be used either
anywhere in the menu or specifically in the menu entries. anywhere in the menu or specifically in the menu entries.
In rescue mode, only the @command{insmod} (@pxref{insmod}), @command{ls}
(@pxref{ls}), @command{set} (@pxref{set}), and @command{unset}
(@pxref{unset}) commands are normally available.
@menu @menu
* Menu-specific commands:: * Menu-specific commands::
* General commands:: * General commands::
@ -1538,6 +1542,7 @@ you forget a command, you can run the command @command{help}
* chainloader:: Chain-load another boot loader * chainloader:: Chain-load another boot loader
* cmp:: Compare two files * cmp:: Compare two files
* configfile:: Load a configuration file * configfile:: Load a configuration file
* cpuid:: Check for CPU features
* crc:: Calculate CRC32 checksums * crc:: Calculate CRC32 checksums
* date:: Display or set current date and time * date:: Display or set current date and time
* drivemap:: Map a drive to another * drivemap:: Map a drive to another
@ -1659,6 +1664,20 @@ Load @var{file} as a configuration file.
@end deffn @end deffn
@node cpuid
@subsection cpuid
@deffn Command cpuid [-l]
Check for CPU features. This command is only available on x86 systems.
With the @option{-l} option, return true if the CPU supports long mode
(64-bit).
If invoked without options, this command currently behaves as if it had been
invoked with @option{-l}. This may change in the future.
@end deffn
@node crc @node crc
@subsection crc @subsection crc