loader.conf revision 148515
1# This is loader.conf - a file full of useful variables that you can 2# set to change the default load behavior of your system. You should 3# not edit this file! Put any overrides into one of the 4# loader_conf_files instead and you will be able to update these 5# defaults later without spamming your local configuration information. 6# 7# All arguments must be in double quotes. 8# 9# $FreeBSD: head/sys/boot/forth/loader.conf 148515 2005-07-29 12:41:37Z brian $ 10 11############################################################## 12### Basic configuration options ############################ 13############################################################## 14 15exec=".( Loading /boot/defaults/loader.conf ) cr" 16 17kernel="kernel" # /boot sub-directory containing kernel and modules 18bootfile="kernel" # Kernel name (possibly absolute path) 19kernel_options="" # Flags to be passed to the kernel 20 21loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local" 22nextboot_conf="/boot/nextboot.conf" 23nextboot_enable="NO" 24 25verbose_loading="NO" # Set to YES for verbose loader output 26 27 28############################################################## 29### Splash screen configuration ############################ 30############################################################## 31 32splash_bmp_load="NO" # Set this to YES for bmp splash screen! 33splash_pcx_load="NO" # Set this to YES for pcx splash screen! 34vesa_load="NO" # Set this to YES to load the vesa module 35bitmap_load="NO" # Set this to YES if you want splash screen! 36bitmap_name="splash.bmp" # Set this to the name of the bmp or pcx file 37bitmap_type="splash_image_data" # and place it on the module_path 38loader_color="NO" # Set this to YES to enable splash screen colors 39 40 41############################################################## 42### Loader settings ######################################## 43############################################################## 44 45#autoboot_delay="10" # Delay in seconds before autobooting, 46 # set to -1 if you don't want user to be 47 # allowed to interrupt autoboot process and 48 # escape to the loader prompt 49#beastie_disable="NO" # Turn the beastie boot menu on and off 50#console="vidconsole" # A comma separated list of console(s) 51#currdev="disk1s1a" # Set the current device 52module_path="/boot/modules" # Set the module search path 53#prompt="\\${interpret}" # Set the command prompt 54#root_disk_unit="0" # Force the root disk unit number 55#rootdev="disk1s1a" # Set the root filesystem 56 57 58############################################################## 59### Kernel settings ######################################## 60############################################################## 61 62# The following boot_ variables are enabled by setting them to any value. 63# Their presence in the kernel environment (see kenv(1)) has the same 64# effect as setting the given boot flag (see boot(8)). 65 66#boot_askname="" # -a: Prompt the user for the name of the root device 67#boot_cdrom="" # -C: Attempt to mount root file system from CD-ROM 68#boot_ddb="" # -d: Instructs the kernel to start in the DDB debugger 69#boot_gdb="" # -g: Selects gdb-remote mode for the kernel debugger 70#boot_multicons="" # -D: Use multiple consoles 71#boot_serial="" # -h: Use serial console 72#boot_single="" # -s: Start system in single-user mode 73#boot_verbose="" # -v: Causes extra debugging information to be printed 74#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall" 75 # Sets the list of init candidates 76 77 78############################################################## 79### Kernel tunables ######################################## 80############################################################## 81 82#hw.physmem="1G" # Limit physical memory. See loader(8) 83#kern.dfldsiz="" # Set the initial data size limit 84#kern.dflssiz="" # Set the initial stack size limit 85#kern.hz="100" # Set the kernel interval timer rate 86#kern.maxbcache="" # Set the max buffer cache KVA storage 87#kern.maxdsiz="" # Set the max data size 88#kern.maxfiles="" # Set the sys. wide open files limit 89#kern.maxproc="" # Set the maximum # of processes 90#kern.maxssiz="" # Set the max stack size 91#kern.maxswzone="" # Set the max swmeta KVA storage 92#kern.maxtsiz="" # Set the max text size 93#kern.maxusers="32" # Set size of various static tables 94#kern.nbuf="" # Set the number of buffer headers 95#kern.ncallout="" # Set the maximum # of timer events 96#kern.sgrowsiz="" # Set the amount to grow stack 97#kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI 98#kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable 99#kern.ipc.nmbclusters="" # Set the number of mbuf clusters 100#kern.ipc.nmbufs="" # Set the maximum number of mbufs 101#kern.ipc.nsfbufs="" # Set the number of sendfile(2) bufs 102#net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE 103#vfs.root.mountfrom="" # Specify root partition in a way the 104 # kernel understands 105#vm.kmem_size="" # Sets the size of kernel memory (bytes) 106#debug.ktr.cpumask="0xf" # Bitmask of CPUs to enable KTR on 107#debug.ktr.mask="0x1200" # Bitmask of KTR events to enable 108#debug.ktr.verbose="1" # Enable console dump of KTR events 109#net.graph.maxalloc="128" # Maximum number of queue items to allocate 110#net.graph.ngqfreemax="64" # Maximum number of free queue items to cache 111 112 113############################################################## 114### Filesystem and related modules ######################### 115############################################################## 116 117# Filesystems 118 119cd9660_load="NO" # ISO 9660 filesystem 120coda_load="NO" # CODA filesystem 121fdescfs_load="NO" # Filedescriptors filesystem 122linprocfs_load="NO" # Linux compatibility process filesystem 123msdosfs_load="NO" # FAT-12/16/32 124nfsclient_load="NO" # NFS client 125nfsserver_load="NO" # NFS server 126ntfs_load="NO" # NTFS 127nullfs_load="NO" # Null filesystem 128portalfs_load="NO" # Portal filesystem 129procfs_load="NO" # Process filesystem 130#umapfs_load="NO" # User-id map filesystem 131unionfs_load="NO" # Union filesystem 132 133# Related stuff 134 135geom_ccd_load="NO" # Concatenated disk driver 136geom_vinum_load="NO" # Concatenated/mirror/raid driver 137g_md_load="NO" # Memory disk driver (vnode/swap/malloc) 138 139 140############################################################## 141### Screen saver modules ################################### 142############################################################## 143 144# This is best done in rc.conf 145 146screensave_load="NO" # Set to YES to load a screensaver module 147screensave_name="green_saver" # Set to the name of the screensaver module 148 149 150############################################################## 151### Emulation modules ###################################### 152############################################################## 153 154ibcs2_load="NO" # IBCS2 (SCO) emulation 155ibcs2_coff_load="NO" 156linux_load="NO" # Linux emulation 157svr4_load="NO" # SystemV R4 emulation 158streams_load="NO" # System V streams module 159 160 161############################################################## 162### Networking modules ##################################### 163############################################################## 164 165if_disc_load="NO" # Discard device 166if_ef_load="NO" # pseudo-device providing support for multiple ethernet frame types 167if_faith_load="NO" # IPv6-to-IPv4 TCP relay capturing interface 168if_gif_load="NO" # generic tunnel interface 169if_gre_load="NO" # encapsulating network device 170if_ppp_load="NO" # Kernel ppp 171if_sl_load="NO" # SLIP 172if_stf_load="NO" # 6to4 tunnel interface 173if_tap_load="NO" # Ethernet tunnel software network interface 174if_tun_load="NO" # Tunnel driver (user process ppp) 175if_vlan_load="NO" # IEEE 802.1Q VLAN network interface 176ipfw_load="NO" # Firewall 177pf_load="NO" # packet filter 178 179 180############################################################## 181### Networking drivers ##################################### 182############################################################## 183 184miibus_load="NO" # miibus support, needed for some drivers 185if_an_load="NO" # Aironet 4500/4800 802.11 wireless NICs 186if_ar_load="NO" # Digi SYNC/570i 187if_awi_load="NO" # AMD PCnetMobile IEEE 802.11 wireless NICs 188if_bfe_load="NO" # Broadcom BCM4401 189if_bge_load="NO" # Broadcom BCM570x PCI gigabit ethernet 190if_cm_load="NO" # SMC (90c26, 90c56, 90c66) 191if_dc_load="NO" # DEC/Intel 21143 and various workalikes 192if_de_load="NO" # DEC DC21x4x ethernet 193if_ed_load="NO" # National Semiconductor DS8390/WD83C690 ethernet 194if_el_load="NO" # 3Com Etherlink 3C501 195if_em_load="NO" # Intel(R) PRO/1000 gigabit ethernet 196if_en_load="NO" # Midway-based ATM interfaces 197if_ep_load="NO" # 3Com Etherlink III (3c5x9) 198if_ex_load="NO" # Intel EtherExpress Pro/10 ethernet 199if_fe_load="NO" # Fujitsu MB86960A/MB86965A based Ethernet adapters 200if_fxp_load="NO" # Intel EtherExpress PRO/100B (82557, 82558) 201if_gx_load="NO" # Intel Pro/1000 gigabit ethernet 202if_ie_load="NO" # Intel 82586 203if_lge_load="NO" # Level 1 LXT1001 NetCellerator PCI gigabit ethernet 204if_lnc_load="NO" # AMD Lance/PCnet Ethernet 205if_my_load="NO" # Myson PCI fast ethernet 206if_nge_load="NO" # National Semiconductor PCI gigabit ethernet 207if_oltr_load="NO" # Olicom 208if_pcn_load="NO" # AMD PCnet PCI 209if_ray_load="NO" # Raytheon Raylink/Webgear Aviator PCCard 210if_re_load="NO" # RealTek 8139C+/8169/8169S/8110S 211if_rl_load="NO" # RealTek 8129/8139 212if_sbni_load="NO" # Granch SBNI12 leased line adapters 213if_sf_load="NO" # Adaptec Duralink PCI (AIC-6915 "starfire") 214if_sis_load="NO" # Silicon Integrated Systems SiS 900/7016 215if_sk_load="NO" # SysKonnect SK-984x series PCI gigabit ethernet 216if_sn_load="NO" # SMC 91Cxx 217if_sr_load="NO" # synchronous RISCom/N2 / WANic 400/405 218if_ste_load="NO" # Sundance Technologies ST201 fast ethernet 219if_ti_load="NO" # Alteon Networks Tigon 1 and Tigon 2 220if_tl_load="NO" # Texas Instruments TNETE100 ("ThunderLAN") 221if_tx_load="NO" # SMC 83c17x fast ethernet 222if_txp_load="NO" # 3Com 3XP Typhoon/Sidewinder (3CR990) 223if_vge_load="NO" # VIA VT6122 PCI Gigabit Ethernet 224if_vr_load="NO" # VIA Rhine I and Rhine II 225if_vx_load="NO" # 3Com 3C590 family 226if_wb_load="NO" # Winbond W89C840F 227if_wi_load="NO" # WaveLAN/IEEE 802.11 wireless NICs 228if_wx_load="NO" # Intel Gigabit Ethernet 229if_xe_load="NO" # Xircom CreditCard PCMCIA 230if_xl_load="NO" # 3Com Etherlink XL (3c900, 3c905, 3c905B) 231 232############################################################## 233### Netgraph modules ####################################### 234############################################################## 235 236ng_UI_load="NO" # UI netgraph node type 237ng_async_load="NO" # asynchronous framing netgraph node type 238ng_bpf_load="NO" # Berkeley packet filter netgraph node type 239ng_bridge_load="NO" # Ethernet bridging netgraph node type 240ng_cisco_load="NO" # Cisco HDLC protocol netgraph node type 241ng_echo_load="NO" # Netgraph echo node type 242ng_eiface_load="NO" # generic Ethernet interface netgraph node type 243ng_etf_load="NO" # Ethertype filtering netgraph node type 244ng_ether_load="NO" # Ethernet netgraph node type 245ng_fec_load="NO" # netgraph Fast EtherChannel node 246ng_frame_relay_load="NO" # frame relay netgraph node type 247ng_gif_load="NO" # generic tunnel interface netgraph node type 248ng_gif_demux_load="NO" # demultiplexer for packets from ng_gif(4) nodes 249ng_hole_load="NO" # Netgraph discard node type 250ng_hub_load="NO" # packet distribution netgraph node type 251ng_iface_load="NO" # interface Netgraph node type 252ng_ip_input_load="NO" # netgraph IP input node type 253ng_ksocket_load="NO" # kernel socket netgraph node type 254ng_l2tp_load="NO" # L2TP protocol netgraph node type 255ng_lmi_load="NO" # frame relay LMI protocol netgraph node type 256ng_mppc_load="NO" # Microsoft MPPC/MPPE compression and encryption netgraph node type 257ng_netflow_load="NO" # Cisco's NetFlow netgraph note type 258ng_one2many_load="NO" # packet multiplexing netgraph node type 259ng_ppp_load="NO" # PPP protocol netgraph node type 260ng_pppoe_load="NO" # RFC 2516 PPPOE protocol netgraph node type 261ng_pptpgre_load="NO" # PPTP GRE protocol netgraph node type 262ng_rfc1490_load="NO" # RFC 1490 netgraph node type 263ng_socket_load="NO" # Netgraph socket node type 264ng_split_load="NO" # netgraph node to separate incoming and outgoing flows 265ng_sppp_load="NO" # sppp netgraph node type 266ng_tee_load="NO" # Netgraph ``tee'' node type 267ng_tty_load="NO" # Netgraph node type that is also a line discipline 268ng_vjc_load="NO" # Van Jacobsen compression netgraph node type 269ng_vlan_load="NO" # IEEE 802.1Q VLAN tagging netgraph node type 270 271############################################################## 272### Sound modules ########################################## 273############################################################## 274 275sound_load="NO" # Digital sound subsystem 276snd_ad1816_load="NO" # ad1816 277snd_als4000_load="NO" # als4000 278snd_cmi_load="NO" # cmi 279snd_cs4281_load="NO" # cs4281 280snd_csa_load="NO" # csa 281snd_ds1_load="NO" # ds1 282snd_emu10k1_load="NO" # Creative Sound Blaster Live 283snd_es137x_load="NO" # es137x 284snd_ess_load="NO" # ess 285snd_fm801_load="NO" # fm801 286snd_ich_load="NO" # Intel ICH 287snd_maestro_load="NO" # Maestro 288snd_maestro3_load="NO" # Maestro3 289snd_mss_load="NO" # Mss 290snd_neomagic_load="NO" # Neomagic 291snd_sb16_load="NO" # Sound Blaster 16 292snd_sb8_load="NO" # Sound Blaster Pro 293snd_sbc_load="NO" # Sbc 294snd_solo_load="NO" # Solo 295snd_t4dwave_load="NO" # t4dwave 296snd_via8233_load="NO" # via8233 297snd_via82c686_load="NO" # via82c686 298snd_vibes_load="NO" # vibes 299snd_driver_load="NO" # All sound drivers 300 301############################################################## 302### USB modules ############################################ 303############################################################## 304 305usb_load="NO" # USB subsystem 306udbp_load="NO" # USB double bulk pipe host 2 host cables 307ugen_load="NO" # USB generic device, if all else fails ... 308ufm_load="NO" # Fm Radio 309uhid_load="NO" # Human Interface Devices 310ukbd_load="NO" # Keyboard 311ulpt_load="NO" # Printer 312ums_load="NO" # Mouse 313umass_load="NO" # Mass Storage Devices 314umodem_load="NO" # Modems 315uscanner_load="NO" # Scanners 316if_aue_load="NO" # ADMtek USB ethernet 317if_axe_load="NO" # ASIX Electronics AX88172 USB ethernet 318if_cue_load="NO" # CATC USB ethernet 319if_kue_load="NO" # Kawasaki LSI USB ethernet 320snd_uaudio_load="NO" # USB audio 321 322############################################################## 323### Other modules ########################################## 324############################################################## 325 326bktr_load="NO" # Brooktree Bt848/Bt878 TV/Video Capture Card 327ispfw_load="NO" # Qlogic ISP Firmware 328agp_load="NO" # agp module 329accf_data_load="NO" # Wait for data accept filter 330accf_http_load="NO" # Wait for full HTTP request accept filter 331random_load="NO" # Random device 332speaker_load="NO" # AT speaker module 333 334############################################################## 335### ACPI settings ########################################## 336############################################################## 337 338acpi_dsdt_load="NO" # DSDT Overriding 339acpi_dsdt_type="acpi_dsdt" # Don't change this 340acpi_dsdt_name="/boot/acpi_dsdt.aml" 341 # Override DSDT in BIOS by this file 342acpi_video_load="NO" # Load the ACPI video extension driver 343 344############################################################## 345### TrustedBSD MAC settings ################################## 346############################################################## 347 348mac_biba_load="NO" # Biba MAC policy 349mac_bsdextended_load="NO" # BSD/extended MAC policy 350mac_ifoff="NO" # Interface silencing policy 351mac_mls_load="NO" # MLS MAC policy 352mac_none_load="NO" # Null MAC policy 353mac_partition_load="NO" # Partition MAC policy 354mac_seeotheruids_load="NO" # UID visbility MAC policy 355 356############################################################## 357### Module loading syntax example ########################## 358############################################################## 359 360#module_load="YES" # loads module "module" 361#module_name="realname" # uses "realname" instead of "module" 362#module_type="type" # passes "-t type" to load 363#module_flags="flags" # passes "flags" to the module 364#module_before="cmd" # executes "cmd" before loading the module 365#module_after="cmd" # executes "cmd" after loading the module 366#module_error="cmd" # executes "cmd" if load fails 367 368