loader.conf revision 193880
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 193880 2009-06-10 02:07:58Z yongari $ 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 38 39 40############################################################## 41### Loader settings ######################################## 42############################################################## 43 44#autoboot_delay="10" # Delay in seconds before autobooting, 45 # set to -1 if you don't want user to be 46 # allowed to interrupt autoboot process and 47 # escape to the loader prompt, set to 48 # "NO" to disable autobooting 49#beastie_disable="NO" # Turn the beastie boot menu on and off 50#loader_logo="fbsdbw" # Desired logo: fbsdbw, beastiebw, beastie, none 51#comconsole_speed="9600" # Set the current serial console speed 52#console="vidconsole" # A comma separated list of console(s) 53#currdev="disk1s1a" # Set the current device 54module_path="/boot/modules" # Set the module search path 55#prompt="\\${interpret}" # Set the command prompt 56#root_disk_unit="0" # Force the root disk unit number 57#rootdev="disk1s1a" # Set the root filesystem 58 59 60############################################################## 61### Kernel settings ######################################## 62############################################################## 63 64# The following boot_ variables are enabled by setting them to any value. 65# Their presence in the kernel environment (see kenv(1)) has the same 66# effect as setting the given boot flag (see boot(8)). 67 68#boot_askname="" # -a: Prompt the user for the name of the root device 69#boot_cdrom="" # -C: Attempt to mount root file system from CD-ROM 70#boot_ddb="" # -d: Instructs the kernel to start in the DDB debugger 71#boot_dfltroot="" # -r: Use the statically configured root file system 72#boot_gdb="" # -g: Selects gdb-remote mode for the kernel debugger 73#boot_multicons="" # -D: Use multiple consoles 74#boot_mute="" # -m: Mute the console 75#boot_pause="" # -p: Pause after each line during device probing 76#boot_serial="" # -h: Use serial console 77#boot_single="" # -s: Start system in single-user mode 78#boot_verbose="" # -v: Causes extra debugging information to be printed 79#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall" 80 # Sets the list of init candidates 81#init_shell="/bin/sh" # The shell binary used by init(8). 82#init_script="" # Initial script to run by init(8) before chrooting. 83#init_chroot="" # Directory for init(8) to chroot into. 84 85 86############################################################## 87### Kernel tunables ######################################## 88############################################################## 89 90#hw.physmem="1G" # Limit physical memory. See loader(8) 91#kern.dfldsiz="" # Set the initial data size limit 92#kern.dflssiz="" # Set the initial stack size limit 93#kern.hz="100" # Set the kernel interval timer rate 94#kern.maxbcache="" # Set the max buffer cache KVA storage 95#kern.maxdsiz="" # Set the max data size 96#kern.maxfiles="" # Set the sys. wide open files limit 97#kern.maxproc="" # Set the maximum # of processes 98#kern.maxssiz="" # Set the max stack size 99#kern.maxswzone="" # Set the max swmeta KVA storage 100#kern.maxtsiz="" # Set the max text size 101#kern.maxusers="32" # Set size of various static tables 102#kern.nbuf="" # Set the number of buffer headers 103#kern.ncallout="" # Set the maximum # of timer events 104#kern.sgrowsiz="" # Set the amount to grow stack 105#kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI 106#kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable 107#kern.ipc.nmbclusters="" # Set the number of mbuf clusters 108#kern.ipc.nmbufs="" # Set the maximum number of mbufs 109#kern.ipc.nsfbufs="" # Set the number of sendfile(2) bufs 110#net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE 111#vfs.root.mountfrom="" # Specify root partition in a way the 112 # kernel understands 113#vm.kmem_size="" # Sets the size of kernel memory (bytes) 114#debug.ktr.cpumask="0xf" # Bitmask of CPUs to enable KTR on 115#debug.ktr.mask="0x1200" # Bitmask of KTR events to enable 116#debug.ktr.verbose="1" # Enable console dump of KTR events 117#net.graph.maxalloc="128" # Maximum number of queue items to allocate 118 119 120############################################################## 121### Filesystem and related modules ######################### 122############################################################## 123 124# Filesystems 125 126cd9660_load="NO" # ISO 9660 filesystem 127coda_load="NO" # CODA filesystem 128fdescfs_load="NO" # Filedescriptors filesystem 129linprocfs_load="NO" # Linux compatibility process filesystem 130linsysfs_load="NO" # Linux compatibility system filesystem 131msdosfs_load="NO" # FAT-12/16/32 132nfsclient_load="NO" # NFS client 133nfsserver_load="NO" # NFS server 134ntfs_load="NO" # NTFS 135nullfs_load="NO" # Null filesystem 136portalfs_load="NO" # Portal filesystem 137procfs_load="NO" # Process filesystem 138reiserfs_load="NO" # ReiserFS 139unionfs_load="NO" # Union filesystem 140xfs_load="NO" # XFS 141zfs_load="NO" # ZFS 142 143# Related stuff 144 145geom_bde_load="NO" # Disk encryption driver (see gbde(4,8)) 146geom_ccd_load="NO" # Concatenated disk driver (see ccd(4), 147 # ccdconfig(8)) 148geom_concat_load="NO" # Concatenated disk driver (see gconcat(8)) 149geom_eli_load="NO" # Disk encryption driver (see geli(8)) 150geom_gate_load="NO" # Userland disk driver (see geom_gate(4), 151 # ggatec(8), ggated(8), ggatel(8)) 152geom_journal_load="NO" # Journaled filesystem driver (see gjournal(8)) 153geom_label_load="NO" # File system labels (see glabel(8)) 154geom_md_load="NO" # Memory disk driver (vnode/swap/malloc) (see 155 # md(4), mdconfig(8)) 156geom_mirror_load="NO" # RAID1 disk driver (see gmirror(8)) 157geom_nop_load="NO" # Transparent disk driver (see gnop(8)) 158geom_raid3_load="NO" # RAID3 disk driver (see graid3(8)) 159geom_shsec_load="NO" # Shared secret disk driver (see gshsec(8)) 160geom_stripe_load="NO" # RAID0 disk driver (see gstripe(8)) 161geom_uzip_load="NO" # Compressed disk images driver (see mkuzip(8)) 162geom_vinum_load="NO" # Concatenated/mirror/raid driver (see vinum(4)) 163 164 165############################################################## 166### Screen saver modules ################################### 167############################################################## 168 169# This is best done in rc.conf 170 171screensave_load="NO" # Set to YES to load a screensaver module 172screensave_name="green_saver" # Set to the name of the screensaver module 173 174 175############################################################## 176### Emulation modules ###################################### 177############################################################## 178 179ibcs2_load="NO" # IBCS2 (SCO) emulation 180ibcs2_coff_load="NO" 181linux_load="NO" # Linux emulation 182svr4_load="NO" # SystemV R4 emulation 183streams_load="NO" # System V streams module 184 185 186############################################################## 187### Networking modules ##################################### 188############################################################## 189 190if_disc_load="NO" # Discard device 191if_ef_load="NO" # pseudo-device providing support for multiple 192 # ethernet frame types 193if_faith_load="NO" # IPv6-to-IPv4 TCP relay capturing interface 194if_gif_load="NO" # generic tunnel interface 195if_gre_load="NO" # encapsulating network device 196if_ppp_load="NO" # Kernel ppp 197if_sl_load="NO" # SLIP 198if_stf_load="NO" # 6to4 tunnel interface 199if_tap_load="NO" # Ethernet tunnel software network interface 200if_tun_load="NO" # Tunnel driver (user process ppp) 201if_vlan_load="NO" # IEEE 802.1Q VLAN network interface 202ipfw_load="NO" # Firewall 203pf_load="NO" # packet filter 204 205 206############################################################## 207### Networking drivers ##################################### 208############################################################## 209 210miibus_load="NO" # miibus support, needed for some drivers 211if_ae_load="NO" # Attansic/Atheros L2 FastEthernet 212if_age_load="NO" # Attansic/Atheros L1 Gigabit Ethernet 213if_alc_load="NO" # Atheros AR8131/AR8132 Ethernet 214if_ale_load="NO" # Atheros AR8121/AR8113/AR8114 Ethernet 215if_an_load="NO" # Aironet 4500/4800 802.11 wireless NICs 216if_ar_load="NO" # Digi SYNC/570i 217if_ath_load="NO" # Atheros IEEE 802.11 wireless NICs 218if_aue_load="NO" # ADMtek AN986 Pegasus USB Ethernet 219if_awi_load="NO" # AMD PCnetMobile IEEE 802.11 wireless NICs 220if_axe_load="NO" # ASIX Electronics AX88172 USB Ethernet 221if_bce_load="NO" # Broadcom NetXtreme II Gigabit Ethernet 222if_bfe_load="NO" # Broadcom BCM4401 223if_bge_load="NO" # Broadcom BCM570x PCI Gigabit Ethernet 224if_cm_load="NO" # SMC (90c26, 90c56, 90c66) 225if_cs_load="NO" # Crystal Semiconductor CS8920 226if_cue_load="NO" # CATC USB-EL1210A USB Ethernet 227if_dc_load="NO" # DEC/Intel 21143 and various workalikes 228if_de_load="NO" # DEC DC21x4x Ethernet 229if_ed_load="NO" # National Semiconductor DS8390/WD83C690 230 # Ethernet 231if_em_load="NO" # Intel(R) PRO/1000 Gigabit Ethernet 232if_en_load="NO" # Midway-based ATM interfaces 233if_ep_load="NO" # 3Com Etherlink III (3c5x9) 234if_ex_load="NO" # Intel EtherExpress Pro/10 Ethernet 235if_fe_load="NO" # Fujitsu MB86960A/MB86965A based Ethernet 236 # adapters 237if_fxp_load="NO" # Intel EtherExpress PRO/100B (82557, 82558) 238if_gem_load="NO" # Sun GEM/Sun ERI/Apple GMAC 239if_hme_load="NO" # Sun Microelectronics STP2002-STQ Ethernet 240if_ie_load="NO" # Intel 82586 241if_igb_load="NO" # Intel(R) PRO/1000 Gigabit Ethernet 242if_ipw_load="NO" # Intel PRO/Wireless 2100 wireless 243if_iwi_load="NO" # Intel PRO/Wireless 2200BG/2225BG/2915ABG 244 # wireless 245if_ixgb_load="NO" # Intel PRO/10Gb Ethernet 246if_ixgbe_load="NO" # Intel PRO/10Gb Ethernet PCI Express 247if_jme_load="NO" # JMicron JMC250 Gigabit/JMC260 Fast Ethernet 248if_le_load="NO" # AMD Am7900 LANCE and Am79C9xx PCnet 249if_lge_load="NO" # Level 1 LXT1001 NetCellerator PCI Gigabit 250 # Ethernet 251if_malo_load="NO" # Marvell Libertas 88W8335 802.11 wireless 252 # adapter 253if_msk_load="NO" # Marvell/SysKonnect Yukon II Gigabit Ethernet 254if_mxge_load="NO" # Myricom Myri10GE 10Gb Ethernet 255if_my_load="NO" # Myson PCI Fast Ethernet 256if_nfe_load="NO" # NVIDIA nForce MCP Networking Adapter 257if_nge_load="NO" # National Semiconductor PCI Gigabit Ethernet 258if_nve_load="NO" # NVIDIA nForce MCP Networking Adapter 259if_nxge_load="NO" # Neterion Xframe 10Gb Ethernet 260if_pcn_load="NO" # AMD PCnet PCI 261if_ral_load="NO" # Ralink Technology wireless 262if_ray_load="NO" # Raytheon Raylink/Webgear Aviator PCCard 263if_re_load="NO" # RealTek 8139C+/8169/8169S/8110S 264if_rl_load="NO" # RealTek 8129/8139 265if_rue_load="NO" # RealTek RTL8150 USB to Fast Ethernet 266if_sbni_load="NO" # Granch SBNI12 leased line adapters 267if_sf_load="NO" # Adaptec Duralink PCI (AIC-6915 "starfire") 268if_sis_load="NO" # Silicon Integrated Systems SiS 900/7016 269if_sk_load="NO" # SysKonnect SK-984x series PCI Gigabit Ethernet 270if_sn_load="NO" # SMC 91Cxx 271if_sr_load="NO" # synchronous RISCom/N2 / WANic 400/405 272if_ste_load="NO" # Sundance Technologies ST201 Fast Ethernet 273if_stge_load="NO" # Sundance/Tamarack TC9021 Gigabit Ethernet 274if_ti_load="NO" # Alteon Networks Tigon 1 and Tigon 2 275if_tl_load="NO" # Texas Instruments TNETE100 ("ThunderLAN") 276if_tx_load="NO" # SMC 83c17x Fast Ethernet 277if_txp_load="NO" # 3Com 3XP Typhoon/Sidewinder (3CR990) 278if_vge_load="NO" # VIA VT6122 PCI Gigabit Ethernet 279if_uath_load="NO" # Atheros USB wireless for AR5005UG & AR5005UX 280if_udav_load="NO" # Davicom DM9601 USB Ethernet 281if_upgt_load="NO" # Conexant/Intersil PrismGT USB wireless 282if_ural_load="NO" # Ralink Technology USB wireless 283if_urtw_load="NO" # Realtek 8187L USB wireless 284if_vr_load="NO" # VIA Rhine I and Rhine II 285if_vx_load="NO" # 3Com 3C590 family 286if_wb_load="NO" # Winbond W89C840F 287if_wi_load="NO" # WaveLAN/IEEE 802.11 wireless NICs 288if_wpi_load="NO" # Intel 3945ABG Wireless LAN IEEE 802.11 289if_xe_load="NO" # Xircom CreditCard PCMCIA 290if_xl_load="NO" # 3Com Etherlink XL (3c900, 3c905, 3c905B) 291 292############################################################## 293### Netgraph modules ####################################### 294############################################################## 295 296ng_UI_load="NO" # UI netgraph node type 297ng_async_load="NO" # asynchronous framing netgraph node type 298ng_bpf_load="NO" # Berkeley packet filter netgraph node type 299ng_bridge_load="NO" # Ethernet bridging netgraph node type 300ng_cisco_load="NO" # Cisco HDLC protocol netgraph node type 301ng_echo_load="NO" # Netgraph echo node type 302ng_eiface_load="NO" # generic Ethernet interface netgraph node type 303ng_etf_load="NO" # Ethertype filtering netgraph node type 304ng_ether_load="NO" # Ethernet netgraph node type 305ng_fec_load="NO" # netgraph Fast EtherChannel node 306ng_frame_relay_load="NO" # frame relay netgraph node type 307ng_gif_load="NO" # generic tunnel interface netgraph node type 308ng_gif_demux_load="NO" # demultiplexer for packets from ng_gif(4) nodes 309ng_hole_load="NO" # Netgraph discard node type 310ng_hub_load="NO" # packet distribution netgraph node type 311ng_iface_load="NO" # interface Netgraph node type 312ng_ip_input_load="NO" # netgraph IP input node type 313ng_ksocket_load="NO" # kernel socket netgraph node type 314ng_l2tp_load="NO" # L2TP protocol netgraph node type 315ng_lmi_load="NO" # frame relay LMI protocol netgraph node type 316ng_mppc_load="NO" # Microsoft MPPC/MPPE compression and 317 # encryption netgraph node type 318ng_netflow_load="NO" # Cisco's NetFlow netgraph node type 319ng_one2many_load="NO" # packet multiplexing netgraph node type 320ng_ppp_load="NO" # PPP protocol netgraph node type 321ng_pppoe_load="NO" # RFC 2516 PPPOE protocol netgraph node type 322ng_pptpgre_load="NO" # PPTP GRE protocol netgraph node type 323ng_rfc1490_load="NO" # RFC 1490 netgraph node type 324ng_socket_load="NO" # Netgraph socket node type 325ng_split_load="NO" # netgraph node to separate incoming and 326 # outgoing flows 327ng_sppp_load="NO" # sppp netgraph node type 328ng_tee_load="NO" # Netgraph ``tee'' node type 329ng_tty_load="NO" # Netgraph node type that is also a line 330 # discipline 331ng_vjc_load="NO" # Van Jacobsen compression netgraph node type 332ng_vlan_load="NO" # IEEE 802.1Q VLAN tagging netgraph node type 333 334############################################################## 335### Sound modules ########################################## 336############################################################## 337 338sound_load="NO" # Digital sound subsystem 339snd_ad1816_load="NO" # ad1816 340snd_als4000_load="NO" # als4000 341snd_atiixp_load="NO" # atiixp 342snd_cmi_load="NO" # cmi 343snd_cs4281_load="NO" # cs4281 344snd_csa_load="NO" # csa 345snd_ds1_load="NO" # ds1 346snd_emu10k1_load="NO" # Creative Sound Blaster Live 347snd_emu10kx_load="NO" # Creative SoundBlaster Live! and Audigy 348snd_envy24_load="NO" # VIA Envy24 349snd_envy24ht_load="NO" # VIA Envy24HT 350snd_es137x_load="NO" # es137x 351snd_ess_load="NO" # ess 352snd_fm801_load="NO" # fm801 353snd_hda_load="NO" # Intel High Definition Audio (Controller) 354snd_ich_load="NO" # Intel ICH 355snd_maestro_load="NO" # Maestro 356snd_maestro3_load="NO" # Maestro3 357snd_mss_load="NO" # Mss 358snd_neomagic_load="NO" # Neomagic 359snd_sb16_load="NO" # Sound Blaster 16 360snd_sb8_load="NO" # Sound Blaster Pro 361snd_sbc_load="NO" # Sbc 362snd_solo_load="NO" # Solo 363snd_spicds_load="NO" # SPI codecs 364snd_t4dwave_load="NO" # t4dwave 365snd_via8233_load="NO" # via8233 366snd_via82c686_load="NO" # via82c686 367snd_vibes_load="NO" # vibes 368snd_driver_load="NO" # All sound drivers 369 370############################################################## 371### USB modules ############################################ 372############################################################## 373 374usb_load="NO" # USB subsystem 375udbp_load="NO" # USB double bulk pipe host 2 host cables 376ugen_load="NO" # USB generic device, if all else fails ... 377ufm_load="NO" # Fm Radio 378uhid_load="NO" # Human Interface Devices 379ukbd_load="NO" # Keyboard 380ulpt_load="NO" # Printer 381ums_load="NO" # Mouse 382umass_load="NO" # Mass Storage Devices 383umodem_load="NO" # Modems 384if_aue_load="NO" # ADMtek USB ethernet 385if_axe_load="NO" # ASIX Electronics AX88172 USB ethernet 386if_cue_load="NO" # CATC USB ethernet 387if_kue_load="NO" # Kawasaki LSI USB ethernet 388if_rum_load="NO" # Ralink USB 802.11 wireless adapter 389if_ural_load="NO" # Ralink RT2500USB 802.11 wireless adapter 390if_zyd_load="NO" # ZyDAS ZD1211(B) USB 802.11 wireless adapter 391snd_uaudio_load="NO" # USB audio 392 393############################################################## 394### Other modules ########################################## 395############################################################## 396 397bktr_load="NO" # Brooktree Bt848/Bt878 TV/Video Capture Card 398ispfw_load="NO" # Qlogic ISP Firmware 399agp_load="NO" # agp module 400accf_data_load="NO" # Wait for data accept filter 401accf_dns_load="NO" # Wait for full DNS request accept filter 402accf_http_load="NO" # Wait for full HTTP request accept filter 403random_load="NO" # Random device 404speaker_load="NO" # AT speaker module 405coretemp_load="NO" # Intel Core CPU temperature monitor 406amdtemp_load="NO" # AMD K8/K10/K11 temperature monitor 407 408############################################################## 409### ACPI settings ########################################## 410############################################################## 411 412acpi_dsdt_load="NO" # DSDT Overriding 413acpi_dsdt_type="acpi_dsdt" # Don't change this 414acpi_dsdt_name="/boot/acpi_dsdt.aml" 415 # Override DSDT in BIOS by this file 416acpi_video_load="NO" # Load the ACPI video extension driver 417 418############################################################## 419### TrustedBSD MAC settings ################################## 420############################################################## 421 422mac_biba_load="NO" # Biba MAC policy 423mac_bsdextended_load="NO" # BSD/extended MAC policy 424mac_ifoff="NO" # Interface silencing policy 425mac_mls_load="NO" # MLS MAC policy 426mac_none_load="NO" # Null MAC policy 427mac_partition_load="NO" # Partition MAC policy 428mac_seeotheruids_load="NO" # UID visbility MAC policy 429 430############################################################## 431### Module loading syntax example ########################## 432############################################################## 433 434#module_load="YES" # loads module "module" 435#module_name="realname" # uses "realname" instead of "module" 436#module_type="type" # passes "-t type" to load 437#module_flags="flags" # passes "flags" to the module 438#module_before="cmd" # executes "cmd" before loading the module 439#module_after="cmd" # executes "cmd" after loading the module 440#module_error="cmd" # executes "cmd" if load fails 441 442############################################################## 443### Always try to load ZFS pool cache file ################# 444############################################################## 445 446zpool_cache_load="YES" 447zpool_cache_type="/boot/zfs/zpool.cache" 448zpool_cache_name="/boot/zfs/zpool.cache" 449