From c2fdb33116c830fce0ecea7dc0b4aa97e17c3a3a Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 16 Nov 2013 17:00:59 +0400 Subject: [PATCH] document cmdpath environment variable --- ChangeLog | 4 ++++ docs/grub.texi | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index bba81dba4..a74265abf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-11-16 Andrey Borzenkov + + * docs/grub.texi (Environment): Document cmdpath. + 2013-11-16 Andrey Borzenkov * grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation): diff --git a/docs/grub.texi b/docs/grub.texi index 0a9670f5b..de72d0cce 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -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