aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/forth
Commit message (Collapse)AuthorAgeFilesLines
* Explain why extra sutff always outputs even when it shouldn't for theWarner Losh2016-05-181-0/+7
| | | | | | | '?' command. Wasted a bunch of time tracking it down tonight. Notes: svn path=/head/; revision=300115
* Remove the reiserfs(5) manpage and an example of loading the kernel module.John Baldwin2016-05-171-1/+0
| | | | Notes: svn path=/head/; revision=300071
* boot/forth: spelling fixes.Pedro F. Giffuni2016-04-305-11/+11
| | | | | | | | Reviewed by: dteske MFC after: 2 weeks Notes: svn path=/head/; revision=298831
* Document vfs.root.mountfrom.Maxim Sobolev2016-04-081-0/+25
| | | | | | | | Reviewed by: imp, wblock Differential Revision: https://reviews.freebsd.org/D5332 Notes: svn path=/head/; revision=297690
* Obsolete mkulzma(8) and geom_uncompress(4), their functionalityMaxim Sobolev2016-02-241-1/+0
| | | | | | | | | is now provided by mkuzip(8) and geom_uzip(4) respectively. MFC after: 1 month Notes: svn path=/head/; revision=295945
* Enable the beastie menu for the UEFI consoleEd Maste2016-01-063-11/+4
| | | | | | | | | | As of r293233 the UEFI console includes basic terminal emulator support. MFC after: 2 weeks Relnotes: Yes Notes: svn path=/head/; revision=293234
* Introduce the ZFS Boot Environments menu to the loader menuAllan Jude2015-12-314-0/+142
| | | | | | | | | | | | | | | | | | | | | If the system was booted with ZFS, a new menu item (#7) appears It contains an autogenerated list of ZFS Boot Environments This allows the user to switch to an alternate root file system Use Cases: - Revert a failed upgrade - Concurrently run different versions of FreeBSD with common home directory - Easier integration with the sysadmin/beadm utility Requested by: many Reviewed by: dteske MFC after: 10 days Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3167 Notes: svn path=/head/; revision=293001
* Remove supposition comment that code would better live elsewhere.Devin Teske2015-12-311-1/+1
| | | | | | | | | | | | | Thinking this through, and looking at process_assignment, I believe moving the code would be wrong considering that set_conf_files is called in one condition while set_nextboot_conf is guarded by a different condition of having nextboot_enable="YES". So these must stay separated and not combined. MFC after: 1 week Notes: svn path=/head/; revision=293000
* Fix a memory leak. nextboot_conf_file is not volatile, as far as IDevin Teske2015-12-311-1/+1
| | | | | | | | | | can tell, and thus the strdup is entirely unnecessary. Thanks to: Toomas Soome (tsoome at-me dot-com) MFC after: 1 week Notes: svn path=/head/; revision=292999
* Remove debugging messages. NB: SVN r187143 reads:Devin Teske2015-12-311-3/+0
| | | | | | | | | | comment out some debugging messages that slipped in by mistake (removing them 7 years after they have been commented out) MFC after: 1 week Notes: svn path=/head/; revision=292996
* Fix stack leak introduced by SVN r97201 (nextboot_conf support).Devin Teske2015-12-301-6/+8
| | | | | | | | | | | | Fix erroneous error path in error messages when processing boot_conf. Fixup stack comments for functions introduced by SVN r97201. Remove a questioning stack comment introduced by SVN r186789. NB: Comment removed because strdup usage here is correct/not a leak. MFC after: 1 week Notes: svn path=/head/; revision=292899
* META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery2015-12-011-0/+11
| | | | | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291563
* Remove guards around overwriting loader.rc and menu.rcAllan Jude2015-08-062-0/+6
| | | | | | | | | | | | | | | | | There have been .local version of each for user modifications for some time This allows users to receive future updates to these files PR: 183765 Submitted by: Bertram Scharpf, Nikolai Lifanov (patch) Reviewed by: dteske, loos, eadler Approved by: bapt (mentor) MFC after: 1 month Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3176 Notes: svn path=/head/; revision=286368
* Document the existence of cloudabi_load and cloudabi64_load.Ed Schouten2015-07-311-0/+2
| | | | Notes: svn path=/head/; revision=286111
* Use consistent spacing.Edward Tomasz Napierala2015-07-251-4/+4
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=285882
* Add md_root example to defaults/loader.conf.Edward Tomasz Napierala2015-07-251-0/+10
| | | | | | | | | | | Note that this doesn't quite work yet - the preloaded image gets loaded twice for some reason. MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=285881
* Use double newlines consistently.Edward Tomasz Napierala2015-07-251-0/+9
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=285875
* Updated random(4) boot/shutdown scripting.Mark Murray2015-06-302-4/+23
| | | | | | | | | | Fix the man pages as well. Differential Revision: https://reviews.freebsd.org/D2924 Approved by: so (delphij) Notes: svn path=/head/; revision=284960
* Install version.4th.8 againAntoine Brodin2015-06-211-1/+2
| | | | | | | | It was disconnected from installation in r281081, but was never removed from the tree or added to ObsoleteFiles.inc Notes: svn path=/head/; revision=284672
* Add comments to indicate where the flag for later abort" originates.Devin Teske2015-06-021-3/+3
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=283933
* Improve support for blacklisting bad memory locations. The user can supplyScott Long2015-04-291-0/+10
| | | | | | | | | | | | | | | | | | | | a text file with a list of physical memory addresses to exclude, and have it loaded at boot time via the provided example in loader.conf. The tunable 'vm.blacklist' remains, but using an external file means that there's no practical limit to the size of the list. This change also improves the scanning algorithm for processing the list, scanning the list only once instead of scanning it for every page in the system. Both the sysctl and the file can be unsorted and contain duplicates so long as each entry is numeric (decimal or hex) and is separated by a space, comma, or newline character. The sysctl 'vm.page_blacklist' is now provided to report what memory locations were successfully excluded. Reviewed by: imp, emax Obtained from: Netflix, Inc. MFC after: 3 days Notes: svn path=/head/; revision=282228
* Add "GELI Passphrase:" prompt to boot loader.Devin Teske2015-04-163-7/+45
| | | | | | | | | | | | | | | | | | A new loader.conf(5) option of geom_eli_passphrase_prompt="YES" will now allow you to enter your geli(8) root-mount credentials prior to invoking the kernel. See check-password.4th(8) for details. Differential Revision: https://reviews.freebsd.org/D2105 Reviewed by: imp, kmoore Discussed on: -current MFC after: 3 days X-MFC-to: stable/10 Relnotes: yes Notes: svn path=/head/; revision=281616
* Re-do proper mode-endings. Antithesis of r281176-281179 which revertedDevin Teske2015-04-086-26/+26
| | | | | | | | | | | | | earlier migration away from sloppy mode-endings (r280925,280974-280976) due to a red-herring in diagnosing HardenedBSD boot lockup. Thanks to: lattera (shawn.webb@hardenedbsd<dot>org) MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r280925,280974-280976,281176-281179 Notes: svn path=/head/; revision=281275
* Fix a bootlock condition if/when loader_logo is set in loader.conf(5)Devin Teske2015-04-081-2/+4
| | | | | | | | | | | | | | | | | | | | | NB: This deeply effected HardenedBSD which had a default value set. Embarassingly, I allowed the `type' primitive to be passed -1/-1 for c-addr/u stack input (the effect of which is to pull INT_MAX bytes from character address negative one in which hilarity ensues over a black screen in full-on bootlock). Much thanks to Shawn Webb [lattera] for helping me diagnose. NB: The mode-ending revisions were initially suspected (and reverted) but proved to be a red-herring. Proper mode endings will be returning. Thanks to: lattera (@HardenedBSD [<dot><com>]) Reported by: lattera MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=281271
* Eliminate literal escape sequences from *.rcDevin Teske2015-04-062-16/+19
| | | | | | | | | | Suggested by: alfred MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r280976, r281179 Notes: svn path=/head/; revision=281180
* Partially revert r280976: Back to previous mode-endings based on feedbackDevin Teske2015-04-061-16/+16
| | | | | | | | | | Reported by: lattera MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r280976 Notes: svn path=/head/; revision=281179
* Partially revert r280975: Back to previous mode-endings based on feedbackDevin Teske2015-04-062-7/+7
| | | | | | | | | | Reported by: lattera MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r280975 Notes: svn path=/head/; revision=281178
* Partially revert r280974: Back to previous mode-endings based on feedbackDevin Teske2015-04-062-2/+2
| | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r290974 Reported by: lattera Notes: svn path=/head/; revision=281177
* Partially revert r280925: Back to previous mode-endings based on feedbackDevin Teske2015-04-061-1/+1
| | | | | | | | | MFC after: 3 days X-MFC-with: r280925 Reported by: lattera Notes: svn path=/head/; revision=281176
* Make sure forth manpages are only installed once.Baptiste Daroussin2015-04-041-0/+13
| | | | | | | | Differential Revision: https://reviews.freebsd.org/D2224 Reviewed by: imp Notes: svn path=/head/; revision=281081
* Revert .PATH changes to fix mips build.Jung-uk Kim2015-04-031-1/+0
| | | | | | | | Reported by: bz Pointy hat to: jkim Notes: svn path=/head/; revision=281009
* Install newly added brand-*.4th and logo-*.4th files and reduce duplication.Jung-uk Kim2015-04-021-0/+26
| | | | | | | | Reviewed by: dteske Pointy hat to: dteske Notes: svn path=/head/; revision=281002
* Use ^[[m mode-ending (as-in screen.4th `me') versus ^[[37mDevin Teske2015-04-021-16/+16
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280976
* Eliminate literal escape sequences from *.4thDevin Teske2015-04-028-93/+154
| | | | | | | | | Suggested by: alfred MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280975
* Use fg/b/me from screen.4th instead of literalsDevin Teske2015-04-022-11/+7
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280974
* Whoops! "arc commit --revision" != "arc diff --update"Devin Teske2015-04-013-45/+7
| | | | Notes: svn path=/head/; revision=280939
* Add "GELI Passphrase:" prompt to boot loader.Devin Teske2015-04-013-7/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Add "GELI Passphrase:" prompt to boot loader. A new loader.conf(5) option of geom_eli_passphrase_prompt="YES" will now allow you to enter your geli(8) root-mount credentials prior to invoking the kernel. See check-password.4th(8) for details. Differential Revision: https://reviews.freebsd.org/D2105 Reviewed by: (your name[s] here) MFC after: 3 days X-MFC-to: stable/10 Relnotes: yes Test Plan: Drop a head copy of check-password.4th into /boot and then apply the patch (only the patch to /boot/check-password.4th is required; no other changes are required but you do have to have a HEAD copy of check-password.4th to apply the patch). NB: The rest of your /boot files can be up to 2 years old but no older. NB: The test won't work unless your kernel has the following change https://svnweb.freebsd.org/base?view=revision&revision=273489 Now, put into /boot/loader.conf: geom_eli_passphrase_prompt="YES" and reboot. You should be prompted for a GELI passphrase before the menu (if enabled), just after loading loader.conf(5). NB: It doesn't matter if you're using GELI or not. However if you are using GELI and a sufficiently new enough release (has SVN r273489) and you entered the proper passphrase to mount your GELI encrypted root device(s), you should notice that the boot process did not stop (you went from loader all the way to login). Reviewers: cperciva, allanjude, scottl, kmoore Subscribers: jkh, imp Differential Revision: https://reviews.freebsd.org/D2105 Notes: svn path=/head/; revision=280938
* Solve dreaded "dictionary full" issue by segregating words into newDevin Teske2015-04-0110-254/+329
| | | | | | | | | | | | | | | vocabularies delay-processing, password-processing, version-processing, frame-drawing, menu-infrastructure, menu-namespace, menu-command-helpers, and menusets-infrastructure. The net effect is to remove almost 200 definitions from the main forth vocabulary reducing the dictionary size by over 50%. The chances of hitting "dictionary full" should be greatly reduced by this patch. MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280937
* When forced to draw ASCII lines/boxen, use `=' for the horizontal lineDevin Teske2015-04-011-1/+6
| | | | | | | | | | when double frames are requested versus single. MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280936
* Securely overwrite (zero) user input when we finish password checks.Devin Teske2015-04-011-5/+14
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280935
* Add remainder of supported ANSI escape sequences.Devin Teske2015-04-011-0/+12
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280934
* Move beastie to logo-*.4th; brands to brand-*.4thDevin Teske2015-04-019-229/+333
| | | | | | | | | Suggested by: jkh, alfred MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280933
* Comments. No functional change.Devin Teske2015-04-011-1/+1
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280931
* Whitespace and cleanup. No functional change(s).Devin Teske2015-03-311-24/+16
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280926
* Optimize bootmsg to use fg/bg/me from screen.4thDevin Teske2015-03-311-7/+6
| | | | | | | | | | NB: screen.4th is included by way of check-password.4th MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280925
* Comments. No functional change(s).Devin Teske2015-03-3111-18/+71
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=280924
* Whitespace. No functional change(s).Devin Teske2015-03-312-28/+11
| | | | | | | | MFC after: 3 days MFH: stable/10 Notes: svn path=/head/; revision=280923
* Change contents of the exec variable in loader.conf to be friendly to bothDevin Teske2015-03-311-1/+1
| | | | | | | | | Ficl/Forth and Lua. No visible change for Forth while enabling Lua support. Submitted by: rpaulo Notes: svn path=/head/; revision=280922
* Remove from legacy ata(4) driver support for hardware, supported by newerAlexander Motin2015-03-241-2/+0
| | | | | | | | | and more functional drivers ahci(4), siis(4) and mvs(4). This removes about 3400 lines of code, unused since FreeBSD 9.0 release. Notes: svn path=/head/; revision=280451
* Add missing variables password/bootlock_password.Devin Teske2015-03-231-0/+2
| | | | | | | | | | | | NB: Using NULL for default values in-case someone or something uncomments it and reboots. See check-password.4th(8) for additional details. MFC after: 3 days X-MFC-to: stable/10 stable/9 Notes: svn path=/head/; revision=280385