loader: Set twiddle globaldiv to 16 by defaultBooting FreeBSD on an EC2 c5.xlarge instance, the loader "twiddles"810 times over the course of 510 ms, a rate of 1.59 kHz. Even acceptingthat many s
loader: Set twiddle globaldiv to 16 by defaultBooting FreeBSD on an EC2 c5.xlarge instance, the loader "twiddles"810 times over the course of 510 ms, a rate of 1.59 kHz. Even acceptingthat many systems are slower than this particular VM and will takelonger to boot (especially if using spinning-rust disks), this seemslike an unhelpfully large amount of twiddling when compared to the~60 Hz frame rate of many displays; printing the twiddles also consumesroughly 10% of the boot time on the aforementioned VM.Setting the default globaldiv to 16 dramatically reduces the time spentprinting twiddles to the console while still twiddling at roughly 100Hz; this should be ample even for systems which take longer to boot andconsequently twiddle slower.Note that this can adjusted via the twiddle_divisor variable inloader.conf, but that file is not processed until nearly halfwaythrough the loader's runtime.Sponsored by: https://www.patreon.com/cpercivaDifferential Revision: https://reviews.freebsd.org/D32163(cherry picked from commit 7457840230c5a470ee5df8abed6ab59c4d008a45)
show more ...
loader: update autoboot description and move to loader.conf.5Document "NO" special value for the autoboot_delay and move thedescription to loader.conf.5.imp reworked some of the wording from dan
loader: update autoboot description and move to loader.conf.5Document "NO" special value for the autoboot_delay and move thedescription to loader.conf.5.imp reworked some of the wording from danger's patch.Reviewed by: impPR: 85128Differential Revision: https://reviews.freebsd.org/D11887(cherry picked from commit 71f6aea4150c66784cbad42c1e1ff908d909c2ec)
Correct the documented size of kern.msgbufsizeThe correct value is 96KB after r226090.PR: 249971Submitted by: [email protected]MFC after: 3 days
Update to today's dateAlso, fix a whitespace botch
Very preliminary loader.efi(8) man page
Document boot1.efiCrude man page for boo1.efi.
Loader: explain the syntax of currdevThe origin text was: "Syntax for devices is odd."That is not very helpful.PR: 199103Reviewed by: kevans, tsoomeSponsored by: Klara Inc.Event: July 2020
Loader: explain the syntax of currdevThe origin text was: "Syntax for devices is odd."That is not very helpful.PR: 199103Reviewed by: kevans, tsoomeSponsored by: Klara Inc.Event: July 2020 BugathonDifferential Revision: https://reviews.freebsd.org/D25629
Remove sparc64 support from the boot loader.Remove all the sparc64 specific bits, both files and ifdefs.
Improve formatting.MFC after: 2 weeksSponsored by: DARPA, AFRL
Add SECURITY section to loader(8).Reviewed by: bcr, jilles, imp (earlier version)MFC after: 2 weeksSponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D16700
Add init_exec kenv(1) variable, to make init(8) execute a fileafter opening the console, replacing init as PID 1.From the user point of view, it makes it possible to run eg theshell as PID 1, usi
Add init_exec kenv(1) variable, to make init(8) execute a fileafter opening the console, replacing init as PID 1.From the user point of view, it makes it possible to run eg theshell as PID 1, using 'set init_exec=/bin/sh' at the loader(8)prompt.Reviewed by: kibMFC after: 2 weeksRelnotes: yesSponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D16625
Move around text in loader(8), in particular stuff related to ZFS,to restore the usual section order.MFC after: 2 weeksSponsored by: DARPA, AFRL
Move description of init_shell, init_script, and init_chroot kenvtunables from loader(8) to init(8), since it's init that actuallyuses them. Add .Xrs at their old place.MFC after: 2 weeksSponso
Move description of init_shell, init_script, and init_chroot kenvtunables from loader(8) to init(8), since it's init that actuallyuses them. Add .Xrs at their old place.MFC after: 2 weeksSponsored by: DARPA, AFRL
Follow up to r336919 and r336921: s/efi.rt_disabled/efi.rt.disabled/The latter matches the rest of the tree better [0]. The UPDATING entry hasbeen updated to reflect this, and the new tunable is n
Follow up to r336919 and r336921: s/efi.rt_disabled/efi.rt.disabled/The latter matches the rest of the tree better [0]. The UPDATING entry hasbeen updated to reflect this, and the new tunable is now documented inloader(8) [1].Reported by: imp [0], Shawn Webb [1]
Eliminate zfsloader man page.Remove all cross references to zfsloader.8 and /boot/zfsloader.Move ZFS specific info into loader.8.Sponsored by: NetflixDifferential Revision: https://reviews.free
Eliminate zfsloader man page.Remove all cross references to zfsloader.8 and /boot/zfsloader.Move ZFS specific info into loader.8.Sponsored by: NetflixDifferential Revision: https://reviews.freebsd.org/D16361
Clarify that boot_mute / boot -m mutes kernel console onlyPerhaps RB_MUTE could mute user startup (rc) output as well, but rightnow it mutes only kernel console output, so make the documentation m
Clarify that boot_mute / boot -m mutes kernel console onlyPerhaps RB_MUTE could mute user startup (rc) output as well, but rightnow it mutes only kernel console output, so make the documentation matchreality.PR: 228193Sponsored by: The FreeBSD Foundation
Move sys/boot to stand. Fix all references to new locationSponsored by: Netflix