Created attachment 226486 [details]
Boot menu from a virtualbox 14-CURRENT snapshot
disable-module is a very useful loader command if you are trying to get certain things to work (in my case, loading nvidia.ko from loader.conf makes the machine unbootable), but it does not appear if you type ? at a loader prompt.
stand/forth/loader.4th suggests that it (and other useful commands) ought to:
: .? 2 spaces 2swap 15 #type 2 spaces type cr ;
\ Execute the ? command to print all the commands defined in
\ C, then list the ones we support here. Please note that this
\ doesn't use pager_* routines that the C implementation of ?
\ does, so these will always appear, even if you stop early
\ there. And they may cause the commands to scroll off the
\ screen if the number of commands modulus LINES is close
\ to LINEs....
['] ? execute
s" boot-conf" s" load kernel and modules, then autoboot" .?
s" read-conf" s" read a configuration file" .?
s" enable-module" s" enable loading of a module" .?
s" disable-module" s" disable loading of a module" .?
s" toggle-module" s" toggle loading of a module" .?
s" show-module" s" show module load data" .?
s" try-include" s" try to load/interpret files" .?
See the screenshots for evidence of it not working, but while this is a vbox installation I have the same issue on a physical amd64 machine.
Created attachment 226487 [details]
First page of ? output
Created attachment 226488 [details]
Second and final page of ? output
Indeed - by default the lua support is now used, everything under forth/* is not. It looks like we need to implement/extend lua loader help support.
The commands do work though (at least disable-module) does.