1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00
freebsd/stand/common
Ahmad Khalifa ab08da5328 loader: Increase buffer size to accommodate longer commands
The longest command we have is "efi-autoresizecons". That combined with
the two spaces before and after the command gives us a total of 23
characters including the null-terminator.

Also move the two trailing spaces to their own pager_output call so they
don't get truncated if the command is too long and increase the minimum
string length to 20 in order to fix alignment issues caused by the
increased buffer size.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1277
2024-06-27 18:40:15 -06:00
..
bcache.c stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
boot.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
bootstrap.h loader: separate lang init from scripting init 2024-05-19 22:05:40 -06:00
commands.c loader: Increase buffer size to accommodate longer commands 2024-06-27 18:40:15 -06:00
console.c stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
dev_net.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
dev_net.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
devopen.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
disk.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
disk.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
gfx_fb.c loader: rename gfx_interp_md to gfx_interp_ref 2024-02-23 21:22:08 -07:00
gfx_fb.h loader: rename gfx_interp_md to gfx_interp_ref 2024-02-23 21:22:08 -07:00
help.common
install.c stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
interp_backslash.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
interp_forth.c loader: separate lang init from scripting init 2024-05-19 22:05:40 -06:00
interp_lua.c loader: separate lang init from scripting init 2024-05-19 22:05:40 -06:00
interp_parse.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
interp_simple.c loader: separate lang init from scripting init 2024-05-19 22:05:40 -06:00
interp.c loader: separate lang init from scripting init 2024-05-19 22:05:40 -06:00
isapnp.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
isapnp.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
load_elf32_obj.c loader: These files have no copyrightable material 2024-02-22 09:31:57 -07:00
load_elf32.c loader: These files have no copyrightable material 2024-02-22 09:31:57 -07:00
load_elf64_obj.c loader: These files have no copyrightable material 2024-02-22 09:31:57 -07:00
load_elf64.c loader: These files have no copyrightable material 2024-02-22 09:31:57 -07:00
load_elf_obj.c Stop #defining FREEBSD_ELF 2023-12-12 15:30:00 -08:00
load_elf.c Stop #defining FREEBSD_ELF 2023-12-12 15:30:00 -08:00
ls.c stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
md.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
merge_help.awk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
metadata.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
misc.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
modinfo.c kboot: Add md_addr to metadata 2022-12-04 13:52:22 -07:00
modinfo.h stand: update prototypes for md_load and md_load64 2022-12-05 16:59:58 -07:00
module.c stand: module: unlink the entire tail when dependencies fail to load 2024-06-25 15:32:08 -05:00
newvers.sh stand: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
nvstore.c stand: Separate base and cli parts of nvstore 2023-01-13 14:22:38 -07:00
part.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
part.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
paths.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
pnp.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
rbx.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
readin.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
reloc_elf32.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
reloc_elf64.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
reloc_elf.c Stop #defining FREEBSD_ELF 2023-12-12 15:30:00 -08:00
self_reloc.c stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
tslog.c stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vdisk.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00
zfs_cmd.c libsa: Remove redundant sys/cdefs.h 2024-02-22 09:31:57 -07:00