freebsd-src/stand
Ian Lepore 98934c6843 Fix the handling of legacy-format devices in the u-boot loaderdev variable.
When I added support for the standard loader(8) disk0s2a: type formats,
the parsing of legacy format was broken because it also contains a colon,
but it comes before the slice and partition. That would cause disk_parsedev()
to return success with the slice and partition set to wildcard values.

This change examines the string first, and if it contains spaces, dots, or
a colon at any position other than the end, it must be a legacy-format
string and we don't even try to use disk_parsedev() on it.

Reported by:	Manuel Stuhn
2019-02-20 03:00:55 +00:00
..
arm
arm64 No need to make objects here. 2018-04-27 22:15:18 +00:00
common loader: ptable_close() should check its argument 2019-02-18 20:29:19 +00:00
defaults Enable lualoader's kernel autodetection, disabled on install media 2018-10-11 17:17:54 +00:00
efi Allow reading the UEFI variable size 2019-02-08 14:56:28 +00:00
fdt stand: fdt: Drop some write-only assignments/variables and leaked bits 2018-08-23 18:01:34 +00:00
ficl
ficl32
forth Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
i386 Remove whole-disk vdev support from zfsboot 2019-02-17 03:52:44 +00:00
kshim
liblua Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
liblua32
libsa cd9660: dirmatch fails to unmatch when name is prefix for directory record 2019-02-18 08:26:18 +00:00
libsa32
lua lualoader: only clear the screen before first password prompt 2019-02-18 02:59:47 +00:00
man Improve formatting. 2018-08-15 11:39:13 +00:00
mips Unbreak mip64 build after r328437 2019-01-20 21:09:44 +00:00
ofw Stop using ../zfs/libzfs.h but instead use libzfs.h. 2018-07-08 07:42:58 +00:00
powerpc powerpc/boot: Move ubldr to /boot/uboot, and make this a separate filesystem 2019-02-18 01:57:47 +00:00
sparc64 MK_ZFS -> {MK_ZFS|MK_LOADER_ZFS}, this is so we can diable userland / kernel 2019-01-05 22:45:20 +00:00
uboot Fix the handling of legacy-format devices in the u-boot loaderdev variable. 2019-02-20 03:00:55 +00:00
usb
userboot MK_ZFS -> {MK_ZFS|MK_LOADER_ZFS}, this is so we can diable userland / kernel 2019-01-05 22:45:20 +00:00
defs.mk Move inclusion of src.opts.mk later. 2018-12-03 17:51:10 +00:00
fdt.mk
ficl.mk Remove redundant defs.mk includes. They aren't needed. 2018-06-14 06:14:48 +00:00
loader.mk Create MK_LOADER_VERBOSE and connect it to ELF_VERBOSE in the loader 2019-01-07 05:49:27 +00:00
lua.mk
Makefile Move ZFS files into libsa 2018-07-08 07:42:49 +00:00
Makefile.amd64
Makefile.inc
uboot.mk