freebsd-skq/sys/boot/common
Craig Rodrigues 0c349f0856 sys/boot/common.c
=================
Extend the loader to parse the root file system mount options in /etc/fstab,
and set a new loader variable vfs.root.mountfrom.options with these options.
The root mount options must be a comma-delimited string, as specified in
/etc/fstab.
Only set the vfs.root.mountfrom.options variable if it has not been
set in the environment.

sys/kern/vfs_mount.c
====================
When mounting the root file system, pass the mount options
specified in vfs.root.mountfrom.options, but filter out "rw" and "noro",
since the initial mount of the root file system must be done as "ro".
While we are here, try to add a few hints to the mountroot prompt
to give users and idea what might of gone wrong during mounting
of the root file system.

Reviewed by:	jhb (an earlier patch)
2009-06-01 01:02:30 +00:00
..
bcache.c
boot.c sys/boot/common.c 2009-06-01 01:02:30 +00:00
bootstrap.h Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
commands.c
console.c
dev_net.c
dev_net.h
devopen.c
help.common
interp_backslash.c
interp_forth.c
interp_parse.c
interp.c As reported in kern/118222, pxeboot in RELENG7 (and presumably 2008-11-20 14:57:09 +00:00
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c
load_elf.c Initial support of loader(8) for ARM machines running U-Boot. 2008-10-14 10:11:14 +00:00
loader.8 Add a helper function for loading geli keys from the loader. 2009-02-16 02:42:17 +00:00
ls.c
Makefile.inc Initial support of loader(8) for ARM machines running U-Boot. 2008-10-14 10:11:14 +00:00
merge_help.awk
misc.c
module.c Add a helper function for loading geli keys from the loader. 2009-02-16 02:42:17 +00:00
newvers.sh
panic.c
pnp.c
reloc_elf32.c
reloc_elf64.c
reloc_elf.c
ufsread.c Some of the boot loader code only works on a ufs file system, but it 2009-05-28 08:22:36 +00:00