than command in the loader.conf, the latter needs to be nul terminated, otherwise garbage trailer left from zfs_nextboot() will be passed to parse_cmd() together with loader.conf command. While here, reset cmd to empty string if read() returns error. Reviewed by: tsoome |
||
---|---|---|
.. | ||
boot0 | ||
boot0sio | ||
boot2 | ||
btx | ||
cdboot | ||
common | ||
gptboot | ||
gptzfsboot | ||
isoboot | ||
libfirewire | ||
libi386 | ||
loader | ||
loader_4th | ||
loader_lua | ||
loader_simp | ||
mbr | ||
pmbr | ||
pxeldr | ||
zfsboot | ||
boot.ldscript | ||
Makefile | ||
Makefile.inc |