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