document cmdpath environment variable
authorAndrey Borzenkov <arvidjaar@gmail.com>
Sat, 16 Nov 2013 13:00:59 +0000 (17:00 +0400)
committerAndrey Borzenkov <arvidjaar@gmail.com>
Sat, 16 Nov 2013 13:00:59 +0000 (17:00 +0400)
ChangeLog
docs/grub.texi

index bba81db..a74265a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-16  Andrey Borzenkov <arvidjaar@gmail.com>
+
+       * docs/grub.texi (Environment): Document cmdpath.
+
 2013-11-16  Andrey Borzenkov <arvidjaar@gmail.com>
 
        * grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):
index 0a9670f..de72d0c 100644 (file)
@@ -2989,6 +2989,7 @@ These variables have special meaning to GRUB.
 * biosnum::
 * check_signatures::
 * chosen::
+* cmdpath::
 * color_highlight::
 * color_normal::
 * debug::
@@ -3058,6 +3059,16 @@ the titles of each of the submenus starting from the top level followed by
 the title of the menu entry itself, separated by @samp{>}.
 
 
+@node cmdpath
+@subsection cmdpath
+
+The location from which @file{core.img} was loaded as an absolute
+directory name (@pxref{File name syntax}).  This is set by GRUB at
+startup based on information returned by platform firmware.  Not every
+platform provides this information and some may return only device
+without path name.
+
+
 @node color_highlight
 @subsection color_highlight