loadenv.c revision 2
2N/A * GRUB -- GRand Unified Bootloader 2N/A * Copyright (C) 2008,2009,2010 Free Software Foundation, Inc. 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 /* Print all variables in current context. */ 2N/A/* Used to maintain a variable length of blocklists internally. */ 2N/A /* Sanity checks. */ 2N/A /* Check if any pair of blocks overlap. */ 2N/A /* This might be actually valid, but it is unbelievable that 2N/A any filesystem makes such a silly allocation. */ 2N/A /* Maybe sparse, unallocated sectors. No way in GRUB. */ 2N/A /* One more sanity check. Re-read all sectors by blocklists, and compare 2N/A those with the data read via a file. */ 2N/A /* Store blocklists in a linked list. */ 2N/A /* Seemingly a bug. */ 2N/A /* Slightly complicated, because the list should be FIFO. */ 2N/A N_(
"Load variables from environment block file."),
2N/A N_(
"List variables from environment block file."),
2N/A N_(
"[-f FILE] variable_name [...]"),
2N/A N_(
"Save variables to environment block file."),