opnsense-src/sys/boot/common
Andriy Gapon 0da23ac99d zfs boot: try to set vfs.root.mountfrom from currdev as a fallback
This way with the new zfsloader there is no need to explicitly set zfs
root filesystem either via vfs.root.mountfrom or fstab.
It should be automatically picked up from currdev which is by default
is set from bootfs.

Tested by:	Florian Wagner <florian@wagner-flo.net> (x86)
MFC after:	1 month
2012-05-12 09:07:41 +00:00
..
bcache.c Use the correct printf specifier. 2004-10-03 16:34:01 +00:00
boot.c zfs boot: try to set vfs.root.mountfrom from currdev as a fallback 2012-05-12 09:07:41 +00:00
bootstrap.h zfsboot/zfsloader: support accessing filesystems within a pool 2012-05-12 09:03:30 +00:00
commands.c Close a file descriptor leak in an error case. 2009-10-28 10:06:27 +00:00
console.c Fix a comparison that broke ``set console=vidconsole'' and even the 2005-07-29 12:47:42 +00:00
crc32.c Remove second consts in r233288 in order to appease C++ compilers. 2012-03-26 18:22:04 +00:00
crc32.h - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
dev_net.c - Add code allowing a network device to only be open and closed once 2010-01-09 21:23:39 +00:00
dev_net.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
devopen.c Show info about net devices in loader's 'lsdev' command. While there fix style. 2008-09-03 17:41:44 +00:00
disk.c With LOADER_MBR_SUPPORT defined and LOADER_GPT_SUPPORT undefined we would 2011-10-20 15:46:54 +00:00
disk.h Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
gpt.c Read backup GPT header from the last LBA only when primary GPT header and 2012-04-12 12:37:53 +00:00
gpt.h - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
help.common Replace a rarely used "depuration" with "debugging". 2006-10-13 20:48:17 +00:00
interp.c a whitespace nit 2011-05-07 13:57:30 +00:00
interp_backslash.c Use __FBSDID(). 2003-08-25 23:30:41 +00:00
interp_forth.c Use __FBSDID(). 2003-08-25 23:30:41 +00:00
interp_parse.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
isapnp.c Use __FBSDID(). 2003-08-25 23:30:41 +00:00
isapnp.h Remove __P. 2002-03-20 08:00:54 +00:00
load_elf.c Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
load_elf32.c Use __FBSDID(). 2003-08-25 23:30:41 +00:00
load_elf32_obj.c Add the loader side of support for preloading ELF relocatable object 2004-08-29 00:48:42 +00:00
load_elf64.c Use __FBSDID(). 2003-08-25 23:30:41 +00:00
load_elf64_obj.c Add the loader side of support for preloading ELF relocatable object 2004-08-29 00:48:42 +00:00
load_elf_obj.c Minimize backward seeks when trying to load ELF relocatable modules. 2011-06-19 13:35:41 +00:00
loader.8 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
ls.c Use __FBSDID(). 2003-08-25 23:30:41 +00:00
Makefile.inc Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
md.c Add support for memory disk (md). The size of the memory disk 2009-12-13 01:20:32 +00:00
merge_help.awk Ignore a sub-topic match if it is inside the command description. 2006-09-28 19:06:20 +00:00
misc.c Setting a variable to the same value twice doesn't actually make it 2008-08-04 06:39:52 +00:00
module.c Fix a long standing bug where file_load() passes down the global loadaddr 2011-04-04 16:59:46 +00:00
newvers.sh When building a kernel or the loader, let the hostname be overridden 2004-07-01 06:40:12 +00:00
panic.c Fix WARNS=2 warnings. 2006-09-29 20:57:38 +00:00
pnp.c Garbage collect the code for auto-loading modules based on ISAPNP IDs, 2007-01-07 22:25:45 +00:00
reloc_elf.c Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
reloc_elf32.c Separate out the ELF relocation code from the ELF loader, and add 2004-08-28 23:03:05 +00:00
reloc_elf64.c Separate out the ELF relocation code from the ELF loader, and add 2004-08-28 23:03:05 +00:00
ufsread.c Declare some variables static in order to reduce the object size and 2012-03-18 02:19:30 +00:00
util.c Fix buffer overflow in sys/boot/common/util.c's printf(), when printing 2011-08-08 20:53:04 +00:00
util.h Rename bcpy() macro to bcopy(). 2011-02-27 12:25:47 +00:00