home *** CD-ROM | disk | FTP | other *** search
/ ftp.sberbank.sumy.ua / 2014.11.ftp.sberbank.sumy.ua.tar / ftp.sberbank.sumy.ua / incoming / sxtech / boot / loader.help < prev    next >
Text File  |  2014-08-29  |  12KB  |  361 lines

  1. ################################################################################
  2. # Tautoboot DBoot after a delay
  3.  
  4.     autoboot [<delay> [<prompt>]]
  5.  
  6.     Displays <prompt> or a default prompt, and counts down <delay> seconds
  7.     before attempting to boot.  If <delay> is not specified, the default
  8.     value is 10.
  9.  
  10. ################################################################################
  11. # Tboot DBoot immediately
  12.  
  13.     boot [<kernelname>] [-<arg> ...]
  14.  
  15.     Boot the system.  If arguments are specified, they are added to the
  16.     arguments for the kernel.  If <kernelname> is specified, and a kernel
  17.     has not already been loaded, it will be booted instead of the default
  18.     kernel.
  19.  
  20. ################################################################################
  21. # Techo DEcho arguments
  22.  
  23.     echo [-n] [<message>]
  24.  
  25.     Emits <message>, with no trailing newline if -n is specified.  This is
  26.     most useful in conjunction with scripts and the '@' line prefix.
  27.  
  28.     Variables are substituted by prefixing them with $, eg.
  29.  
  30.         echo Current device is $currdev
  31.  
  32.     will print the current device.
  33.  
  34. ################################################################################
  35. # Theap DDisplay memory management statistics
  36.  
  37.     heap
  38.  
  39.     Requests debugging output from the heap manager.  For debugging use
  40.     only.
  41.  
  42. ################################################################################
  43. # Thelp DDisplay command help
  44.  
  45.     help [topic [subtopic]]
  46.     ?
  47.  
  48.     The help command displays help on commands and their usage.
  49.  
  50.     In command help, a term enclosed with <...> indicates a value as
  51.     described by the term.  A term enclosed with [...] is optional,
  52.     and may not be required by all forms of the command.
  53.  
  54.     Some commands may not be available.  Use the '?' command to list
  55.     most available commands.
  56.  
  57. ################################################################################
  58. # Tinclude DRead commands from a script file
  59.  
  60.     include <filename> [<filename> ...]
  61.  
  62.     The entire contents of <filename> are read into memory before executing
  63.     commands, so it is safe to source a file from removable media.
  64.  
  65. ################################################################################
  66. # Tload DLoad a kernel or module
  67.  
  68.     load [-t <type>] <filename>
  69.  
  70.     Loads the module contained in <filename> into memory.  If no other
  71.     modules are loaded, <filename> must be a kernel or the command will
  72.     fail.
  73.  
  74.     If -t is specified, the module is loaded as raw data of <type>, for
  75.     later use by the kernel or other modules.  <type> may be any string.
  76.  
  77. ################################################################################
  78. # Tls DList files
  79.  
  80.     ls [-l] [<path>]
  81.  
  82.     Displays a listing of files in the directory <path>, or the root
  83.     directory of the current device if <path> is not specified.
  84.  
  85.     The -l argument displays file sizes as well; the process of obtaining
  86.     file sizes on some media may be very slow.
  87.  
  88. ################################################################################
  89. # Tlsdev DList devices
  90.  
  91.     lsdev [-v]
  92.  
  93.     List all of the devices from which it may be possible to load modules.
  94.     If -v is specified, print more details.
  95.  
  96. ################################################################################
  97. # Tlsmod DList modules
  98.  
  99.     lsmod [-v]
  100.  
  101.     List loaded modules. If [-v] is specified, print more details.
  102.  
  103. ################################################################################
  104. # Tmore DPage files
  105.  
  106.     more <filename> [<filename> ...]
  107.  
  108.     Show contents of text files. When displaying the contents of more,
  109.     than one file, if the user elects to quit displaying a file, the
  110.     remaining files will not be shown.
  111.  
  112. ################################################################################
  113. # Tpnpscan DScan for PnP devices
  114.  
  115.     pnpscan [-v]
  116.  
  117.     Scan for Plug-and-Play devices.  This command is normally automatically
  118.     run as part of the boot process, in order to dynamically load modules
  119.     required for system operation.
  120.  
  121.     If the -v argument is specified, details on the devices found will
  122.     be printed.
  123.  
  124. ################################################################################
  125. # Tread DRead input from the terminal
  126.  
  127.     read [-t <value>] [-p <prompt>] [<variable name>]
  128.  
  129.     The read command reads a line of input from the terminal.  If the
  130.     -t argument is specified, it will return nothing if no input has been
  131.     received after <value> seconds.  (Any keypress will cancel the
  132.     timeout).
  133.  
  134.     If -p is specified, <prompt> is printed before reading input. No
  135.     newline is emitted after the prompt.
  136.  
  137.     If a variable name is supplied, the variable is set to the value read,
  138.     less any terminating newline.
  139.  
  140. ################################################################################
  141. # Treboot DReboot the system
  142.  
  143.     reboot
  144.  
  145.     Causes the system to immediately reboot.
  146.  
  147. ################################################################################
  148. # Tset DSet a variable
  149.  
  150.     set <variable name>
  151.     set <variable name>=<value>
  152.  
  153.     The set command is used to set variables.
  154.  
  155. ################################################################################
  156. # Tset Sautoboot_delay DSet the default autoboot delay
  157.  
  158.     set autoboot_delay=<value>
  159.  
  160.     Sets the default delay for the autoboot command to <value> seconds.
  161.  
  162. ################################################################################
  163. # Tset Sboot_askname DPrompt for root device
  164.  
  165.     set boot_askname
  166.  
  167.     Instructs the kernel to prompt the user for the name of the root device
  168.     when the kernel is booted.
  169.  
  170. ################################################################################
  171. # Tset Sboot_ddb DDrop to the kernel debugger (DDB)
  172.  
  173.     set boot_ddb
  174.  
  175.     Instructs the kernel to start in the DDB debugger, rather than
  176.     proceeding to initialise when booted.
  177.  
  178. ################################################################################
  179. # Tset Sboot_gdb DSelect gdb-remote mode
  180.  
  181.     set boot_gdb
  182.  
  183.     Selects gdb-remote mode for the kernel debugger by default.
  184.  
  185. ################################################################################
  186. # Tset Sboot_single DStart system in single-user mode
  187.  
  188.     set boot_single
  189.  
  190.     Prevents the kernel from initiating a multi-user startup, single-user
  191.     mode will be entered when the kernel has finished device probes.
  192.  
  193. ################################################################################
  194. # Tset Sboot_userconfig DStart Userconfig
  195.  
  196.     set boot_userconfig
  197.  
  198.     Requests that the kernel's interactive device configuration program
  199.     be run when the kernel is booted.
  200.  
  201. ################################################################################
  202. # Tset Sboot_verbose DVerbose boot messages
  203.  
  204.     set boot_verbose
  205.  
  206.     Setting this variable causes extra debugging information to be printed
  207.     by the kernel during the boot phase.
  208.  
  209. ################################################################################
  210. # Tset Sbootfile DSet the default boot file set
  211.  
  212.     set bootfile=<filename>[;<filename>...]
  213.  
  214.     Sets the default set of kernel boot filename(s). It may be overridden
  215.     by setting the bootfile variable to a semicolon-separated list of
  216.     filenames, each of which will be searched for in the module_path
  217.     directories. The default bootfile set is "kernel;kernel.old".
  218.  
  219. ################################################################################
  220. # Tset Sconsole DSet the current console
  221.  
  222.     set console[=<value>]
  223.  
  224.     Sets the current console.  If <value> is omitted, a list of valid
  225.     consoles will be displayed.
  226.  
  227. ################################################################################
  228. # Tset Scurrdev DSet the current device
  229.  
  230.     set currdev=<device>
  231.  
  232.     Selects the default device.  Syntax for devices is odd.
  233.  
  234. ################################################################################
  235. # Tset Sinit_path DSet the list of init candidates
  236.  
  237.     set init_path=<path>[:<path>...]
  238.  
  239.     Sets the list of binaries which the kernel will try to run as initial
  240.     process.
  241.  
  242.  
  243. ################################################################################
  244. # Tset Smodule_path DSet the module search path
  245.  
  246.     set module_path=<path>[;<path>...]
  247.  
  248.     Sets the list of directories which will be searched in for modules
  249.     named in a load command or implicitly required by a dependency. The
  250.     default module_path is "/;/boot;/modules".
  251.  
  252. ################################################################################
  253. # Tset Snum_ide_disks DSet the number of IDE disks
  254.  
  255.     NOTE: this variable is deprecated, use root_disk_unit instead.
  256.  
  257.     set num_ide_disks=<value>
  258.  
  259.     When booting from a SCSI disk on a system with one or more IDE disks,
  260.     and where the IDE disks are the default boot device, it is necessary
  261.     to tell the kernel how many IDE disks there are in order to have it
  262.     correctly locate the SCSI disk you are booting from.
  263.  
  264. ################################################################################
  265. # Tset Sprompt DSet the command prompt
  266.  
  267.     set prompt=<value>
  268.  
  269.     The command prompt is displayed when the loader is waiting for input.
  270.     Variable substitution is performed on the prompt.  The default
  271.     prompt can be set with:
  272.  
  273.         set prompt=\$currdev>
  274.  
  275. ################################################################################
  276. # Tset Sroot_disk_unit DForce the root disk unit number.
  277.  
  278.     set root_disk_unit=<value>
  279.  
  280.     If the code which detects the disk unit number for the root disk is
  281.     confused, eg. by a mix of SCSI and IDE disks, or IDE disks with
  282.     gaps in the sequence (eg. no primary slave), the unit number can be
  283.     forced by setting this variable.
  284.  
  285. ################################################################################
  286. # Tset Srootdev DSet the root filesystem
  287.  
  288.     set rootdev=<path>
  289.  
  290.     By default the value of $currdev is used to set the root filesystem
  291.     when the kernel is booted.  This can be overridden by setting
  292.     $rootdev explicitly.
  293.  
  294. ################################################################################
  295. # Tset Stunables DSet kernel tunable values
  296.  
  297.     Various kernel tunable parameters can be overridden by specifying new
  298.     values in the environment.
  299.  
  300.     set kern.ipc.nmbclusters=<value>    NMBCLUSTERS
  301.  
  302.         Set the number of mbuf clusters to be allocated.  The value
  303.         cannot be set below the default determined when the kernel
  304.         was compiled.
  305.  
  306.     set kern.vm.kmem.size=<value>        VM_KMEM_SIZE
  307.  
  308.         Sets the size of kernel memory (bytes).  This overrides
  309.         completely the value determined when the kernel was
  310.         compiled.
  311.  
  312.     set machdep.pccard.pcic_irq=<value>
  313.  
  314.         Overrides the IRQ normally assigned to a PCCARD controller.
  315.         Typically the first available interrupt will be allocated,
  316.         which may conflict with other hardware.  If this value is
  317.         set to 0, an interrupt will not be assigned and the
  318.         controller will operate in polled mode only.
  319.  
  320.     set net.inet.tcp.tcbhashsize=<value>    TCBHASHSIZE
  321.  
  322.         Overrides the compile-time set value of TCBHASHSIZE or
  323.         the preset default of 512.  Must be a power of 2.
  324.  
  325.     set hw.physmem=<value>            MAXMEM (i386 only)
  326.  
  327.         Limits the amount of physical memory space available to
  328.         the system to <value> bytes.  <value> may have a k, M or G
  329.         suffix to indicate kilobytes, megabytes and gigabytes
  330.         respectively.  Note that the current i386 architecture
  331.         limits this value to 4GB.
  332.  
  333.         On systems where memory cannot be accurately probed,
  334.         this option provides a hint as to the actual size of
  335.         system memory (which will be tested before use).
  336.  
  337. ################################################################################
  338. # Tshow DShow the values of variables
  339.  
  340.     show [<variable>]
  341.  
  342.     Displays the value of <variable>, or all variables if not specified.
  343.     Multiple paths can be separated with a semicolon.
  344.  
  345. ################################################################################
  346. # Tunload DRemove all modules from memory
  347.  
  348.     unload
  349.  
  350.     This command removes any kernel and all loaded modules from memory.
  351.  
  352. ################################################################################
  353. # Tunset DUnset a variable
  354.  
  355.     unset <variable name>
  356.  
  357.     If allowed, the named variable's value is discarded and the variable
  358.     is removed.
  359.  
  360. ################################################################################
  361.