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