loader.conf revision 102011
1156952Sume# This is loader.conf - a file full of useful variables that you can 2156952Sume# set to change the default load behavior of your system. You should 3156952Sume# not edit this file! Put any overrides into one of the 4156952Sume# loader_conf_files instead and you will be able to update these 5156952Sume# defaults later without spamming your local configuration information. 6156952Sume# 7156952Sume# All arguments must be in double quotes. 8156952Sume# 9156952Sume# $FreeBSD: head/sys/boot/forth/loader.conf 102011 2002-08-17 16:23:44Z orion $ 10156952Sume 11156952Sume############################################################## 12156952Sume### Basic configuration options ############################ 13156952Sume############################################################## 14156952Sume 15156952Sumeexec=".( Loading /boot/defaults/loader.conf ) cr" 16156952Sume 17156952Sumekernel="kernel" # /boot sub-directory containing kernel and modules 18156952Sumebootfile="kernel" # Kernel name (possibly absolute path) 19156952Sumekernel_options="" 20156952Sume 21156952Sumeuserconfig_script_load="NO" 22156952Sumeuserconfig_script_name="/boot/kernel.conf" 23156952Sumeuserconfig_script_type="userconfig_script" 24156952Sume 25156952Sumeloader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local" 26156952Sumenextboot_conf="/boot/nextboot.conf" 27156952Sumenextboot_enable="NO" 28156952Sume 29156952Sumeverbose_loading="NO" # Set to YES for verbose loader output 30156952Sume 31156952Sume 32156952Sume############################################################## 33156952Sume### Splash screen configuration ############################ 34156952Sume############################################################## 35156952Sume 36156952Sumesplash_bmp_load="NO" # Set this to YES for bmp splash screen! 37156952Sumesplash_pcx_load="NO" # Set this to YES for pcx splash screen! 38156952Sumevesa_load="NO" # Set this to YES to load the vesa module 39156952Sumebitmap_load="NO" # Set this to YES if you want splash screen! 40156952Sumebitmap_name="splash.bmp" # Set this to the name of the bmp or pcx file 41156952Sumebitmap_type="splash_image_data" # and place it on the module_path 42156952Sume 43156952Sume 44156952Sume############################################################## 45156952Sume### Loader settings ######################################## 46156952Sume############################################################## 47156952Sume 48156952Sume#autoboot_delay="10" # Delay in seconds before autobooting 49156952Sume#console="vidconsole" # Set the current console 50156952Sume#currdev="disk1s1a" # Set the current device 51156952Sumemodule_path="/boot/kernel;/boot/modules;/modules" # Set the module search path 52156952Sume#prompt="\\${interpret}" # Set the command prompt 53156952Sume#root_disk_unit="0" # Force the root disk unit number 54156952Sume#rootdev="disk1s1a" # Set the root filesystem 55156952Sume 56156952Sume 57156952Sume############################################################## 58156952Sume### Kernel settings ######################################## 59156952Sume############################################################## 60156952Sume 61156952Sume # The following boot_ variables are enabled 62156952Sume # by setting them to any value. 63156952Sume#boot_askname="" # Prompt the user for the name of the root device 64156952Sume#boot_ddb="" # Instructs the kernel to start in the DDB debugger 65156952Sume#boot_gdb="" # Selects gdb-remote mode for the kernel debugger 66156952Sume#boot_single="" # Start system in single-user mode 67156952Sume#boot_userconfig="" # Run kernel's interactive device configuration program 68156952Sume#boot_verbose="" # Causes extra debugging information to be printed 69156952Sume#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall" 70156952Sume # Sets the list of init candidates 71156952Sume#dumpdev="ad0s1b" # Set device for crash dumps 72156952Sume 73156952Sume 74156952Sume############################################################## 75156952Sume### Kernel tunables ######################################## 76156952Sume############################################################## 77156952Sume 78156952Sume#hw.physmem="1G" # Limit phyiscal memory. See loader(8) 79156952Sume#kern.dfldsiz="" # Set the initial data size limit 80156952Sume#kern.dflssiz="" # Set the initial stack size limit 81156952Sume#kern.hz="100" # Set the kernel interval timer rate 82156952Sume#kern.maxbcache="" # Set the max buffer cache KVA storage 83156952Sume#kern.maxdsiz="" # Set the max data size 84156952Sume#kern.maxfiles="" # Set the sys. wide open files limit 85156952Sume#kern.maxproc="" # Set the maximum # of processes 86156952Sume#kern.maxssiz="" # Set the max stack size 87156952Sume#kern.maxswzone="" # Set the max swmeta KVA storage 88156952Sume#kern.maxtsiz="" # Set the max text size 89156952Sume#kern.maxusers="32" # Set size of various static tables 90156952Sume#kern.nbuf="" # Set the number of buffer headers 91156952Sume#kern.ncallout="" # Set the maximum # of timer events 92156952Sume#kern.sgrowsiz="" # Set the amount to grow stack 93156952Sume#kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable 94156952Sume#kern.ipc.nmbclusters="" # Set the number of mbuf clusters 95156952Sume#kern.ipc.nmbufs="" # Set the maximum number of mbufs 96156952Sume#kern.ipc.nsfbufs="" # Set the number of sendfile(2) bufs 97156952Sume#kern.vm.kmem.size="" # Sets the size of kernel memory (bytes) 98156952Sume#machdep.pccard.pcic_irq="0" # Assigns PCCARD controller IRQ (0=polled) 99156952Sume#net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE 100156952Sume#vfs.root.mountfrom="" # Specify root partition in a way the 101156952Sume # kernel understands 102156952Sume#debug.ktr.cpumask="0xf" # Bitmask of CPUs to enable KTR on 103156952Sume#debug.ktr.mask="0x1200" # Bitmask of KTR events to enable 104156952Sume#debug.ktr.verbose="1" # Enable console dump of KTR events 105156952Sume 106156952Sume 107156952Sume############################################################## 108156952Sume### Filesystem and related modules ######################### 109156952Sume############################################################## 110156952Sume 111156952Sume# Filesystems 112156952Sume 113156952Sumecd9660_load="NO" # ISO 9660 filesystem 114156952Sumecoda_load="NO" # CODA filesystem 115156952Sumefdescfs_load="NO" # Filedescriptors filesystem 116156952Sumemsdosfs_load="NO" # FAT-12/16/32 117156952Sumenfs_load="NO" # NFS 118156952Sumentfs_load="NO" # NTFS 119156952Sumenullfs_load="NO" # Null filesystem 120156952Sumeportalfs_load="NO" # Portal filesystem 121156952Sumeprocfs_load="NO" # Process filesystem 122156952Sumeumapfs_load="NO" # User-id map filesystem 123156952Sumeunionfs_load="NO" # Union filesystem 124156952Sume 125156952Sume# Related stuff 126156952Sume 127156952Sumeccd_load="NO" # Concatenated disk driver 128156952Sumevinum_load="NO" # Concatenated/mirror/raid driver 129156952Sumemd_load="NO" # Memory disk driver (vnode/swap/malloc) 130156952Sume 131156952Sume 132156952Sume############################################################## 133156952Sume### Screen saver modules ################################### 134156952Sume############################################################## 135156952Sume 136156952Sume# This is best done in rc.conf 137156952Sume 138156952Sumescreensave_load="NO" # Set to YES to load a screensaver module 139156952Sumescreensave_name="green_saver" # Set to the name of the screensaver module 140156952Sume 141156952Sume 142156952Sume############################################################## 143156952Sume### Emulation modules ###################################### 144156952Sume############################################################## 145156952Sume 146156952Sumefpu_load="NO" # Floating point emulation 147156952Sumegnufpu_load="NO" # GNU floating point emulation 148156952Sumeibcs2_load="NO" # IBCS2 (SCO) emulation 149156952Sumeibcs2_coff_load="NO" 150156952Sumelinux_load="NO" # Linux emulation 151156952Sumesvr4_load="NO" # SystemV R4 emulation 152156952Sumestreams_load="NO" # System V streams module 153156952Sume 154156952Sume 155156952Sume############################################################## 156156952Sume### Networking modules ##################################### 157156952Sume############################################################## 158156952Sume 159156952Sumeif_disc_load="NO" # Discard device 160156952Sumeif_ppp_load="NO" # Kernel ppp 161156952Sumeif_sl_load="NO" # SLIP 162156952Sumeif_tun_load="NO" # Tunnel driver (user process ppp) 163156952Sumeipfw_load="NO" # Firewall 164156952Sume 165156952Sume 166156952Sume############################################################## 167156952Sume### Networking drivers ##################################### 168156952Sume############################################################## 169156952Sume 170156952Sumemiibus_load="NO" # miibus support, needed for some drivers 171156952Sumeif_an_load="NO" # Aironet 4500/4800 802.11 wireless NICs 172156952Sumeif_dc_load="NO" # DEC/Intel 21143 and various workalikes 173156952Sumeif_fxp_load="NO" # Intel EtherExpress PRO/100B (82557, 82558) 174156952Sumeif_rl_load="NO" # RealTek 8129/8139 175156952Sumeif_sf_load="NO" # Adaptec Duralink PCI (AIC-6915 "starfire") 176156952Sumeif_sis_load="NO" # Silicon Integrated Systems SiS 900/7016 177156952Sumeif_sk_load="NO" # SysKonnect SK-984x series PCI gigabit ethernet 178156952Sumeif_ti_load="NO" # Alteon Networks Tigon 1 and Tigon 2 179156952Sumeif_tl_load="NO" # Texas Instruments TNETE100 ("ThunderLAN") 180156952Sumeif_vr_load="NO" # VIA Rhine I and Rhine II 181156952Sumeif_wb_load="NO" # Winbond W89C840F 182156952Sumeif_wi_load="NO" # WaveLAN/IEEE 802.11 wireless NICs 183156952Sumeif_wx_load="NO" # Intel Gigabit Ethernet 184156952Sumeif_xl_load="NO" # 3Com Etherlink XL (3c900, 3c905, 3c905B) 185156952Sume 186156952Sume############################################################## 187156952Sume### Netgraph modules ####################################### 188156952Sume############################################################## 189156952Sume 190156952Sumeng_UI_load="NO" # UI netgraph node type 191156952Sumeng_async_load="NO" # asynchronous framing netgraph node type 192156952Sumeng_bpf_load="NO" # Berkeley packet filter netgraph node type 193156952Sumeng_bridge_load="NO" # Ethernet bridging netgraph node type 194156952Sumeng_cisco_load="NO" # Cisco HDLC protocol netgraph node type 195156952Sumeng_echo_load="NO" # Netgraph echo node type 196156952Sumeng_ether_load="NO" # Ethernet netgraph node type 197156952Sumeng_frame_relay_load="NO" # frame relay netgraph node type 198156952Sumeng_hole_load="NO" # Netgraph discard node type 199156952Sumeng_iface_load="NO" # interface Netgraph node type 200156952Sumeng_ksocket_load="NO" # kernel socket netgraph node type 201156952Sumeng_lmi_load="NO" # frame relay LMI protocol netgraph node type 202156952Sumeng_mppc_load="NO" # Microsoft MPPC/MPPE compression and encryption netgraph node type 203156952Sumeng_one2many_load="NO" # packet multiplexing netgraph node type 204156952Sumeng_ppp_load="NO" # PPP protocol netgraph node type 205156952Sumeng_pppoe_load="NO" # RFC 2516 PPPOE protocol netgraph node type 206156952Sumeng_pptpgre_load="NO" # PPTP GRE protocol netgraph node type 207156952Sumeng_rfc1490_load="NO" # RFC 1490 netgraph node type 208156952Sumeng_socket_load="NO" # Netgraph socket node type 209156952Sumeng_tee_load="NO" # Netgraph ``tee'' node type 210156952Sumeng_tty_load="NO" # Netgraph node type that is also a line discipline 211156952Sumeng_vjc_load="NO" # Van Jacobsen compression netgraph node type 212156952Sume 213156952Sume############################################################## 214156952Sume### Sound modules ########################################## 215156952Sume############################################################## 216156952Sume 217156952Sumesnd_pcm_load="NO" # Digital sound subsystem 218156952Sumesnd_ad1816_load="NO" # ad1816 219156952Sumesnd_cmi_load="NO" # cmi 220156952Sumesnd_csa_load="NO" # csa 221156952Sumesnd_cs4281_load="NO" # cs4281 222156952Sumesnd_ds1_load="NO" # ds1 223156952Sumesnd_emu10k1_load="NO" # Creative Sound Blaster Live 224156952Sumesnd_ess_load="NO" # ess 225156952Sumesnd_es137x_load="NO" # es137x 226156952Sumesnd_fm801_load="NO" # fm801 227156952Sumesnd_ich_load="NO" # Intel ICH 228156952Sumesnd_maestro_load="NO" # Maestro 229156952Sumesnd_maestro3_load="NO" # Maestro3 230156952Sumesnd_mss_load="NO" # Mss 231156952Sumesnd_neomagic_load="NO" # Neomagic 232156952Sumesnd_sbc_load="NO" # Sbc 233156952Sumesnd_sb8_load="NO" # Sound Blaster Pro 234156952Sumesnd_sb16_load="NO" # Sound Blaster 16 235156952Sumesnd_solo_load="NO" # Solo 236156952Sumesnd_t4dwave_load="NO" # t4dwave 237156952Sumesnd_via8233_load="NO" # via8233 238156952Sumesnd_via82c686_load="NO" # via82c686 239156952Sumesnd_load="NO" # All sound drivers 240156952Sume 241156952Sume############################################################## 242156952Sume### USB modules ############################################ 243156952Sume############################################################## 244156952Sume 245156952Sumeusb_load="NO" # USB subsystem 246156952Sumeudbp_load="NO" # USB double bulk pipe host 2 host cables 247156952Sumeugen_load="NO" # USB generic device, if all else fails ... 248156952Sumeufm_load="NO" # Fm Radio 249156952Sumeuhid_load="NO" # Human Interface Devices 250156952Sumeukbd_load="NO" # Keyboard 251156952Sumeulpt_load="NO" # Printer 252156952Sumeums_load="NO" # Mouse 253156952Sumeumass_load="NO" # Mass Storage Devices 254156952Sumeumodem_load="NO" # Modems 255156952Sumeuscanner_load="NO" # Scanners 256156952Sumeif_aue_load="NO" # ADMtek USB ethernet 257156952Sumeif_cue_load="NO" # CATC USB ethernet 258156952Sumeif_kue_load="NO" # Kawasaki LSI USB ethernet 259156952Sume 260156952Sume############################################################## 261156952Sume### Other modules ########################################## 262156952Sume############################################################## 263156952Sume 264156952Sumebktr_load="NO" # Brooktree Bt848/Bt878 TV/Video Capture Card 265156952Sumeispfw_load="NO" # Qlogic ISP Firmware 266156952Sumeagp_load="NO" # agp module 267156952Sumeaccf_data_load="NO" # Wait for data accept filter 268156952Sumeaccf_http_load="NO" # Wait for full HTTP request accept filter 269156952Sumerandom_load="NO" # Random device 270156952Sumeatspeaker_load="NO" # AT speaker module 271156952Sume 272156952Sume############################################################## 273156952Sume### ACPI settings ########################################## 274156952Sume############################################################## 275156952Sume 276156952Sumeacpi_dsdt_load="NO" # DSDT Overriding 277156952Sumeacpi_dsdt_type="acpi_dsdt" # Don't change this 278156952Sumeacpi_dsdt_name="/boot/acpi_dsdt.aml" 279156952Sume # Override DSDT in BIOS by this file 280156952Sume 281156952Sume############################################################## 282156952Sume### TrustedBSD MAC settings ################################## 283156952Sume############################################################## 284156952Sume 285156952Sumemac_biba_load="NO" # Biba MAC policy 286156952Sumemac_bsdextended_load="NO" # BSD/extended MAC policy 287156952Sumemac_ifoff="NO" # Interface silencing policy 288156952Sumemac_mls_load="NO" # MLS MAC policy 289156952Sumemac_none_load="NO" # Null MAC policy 290156952Sumemac_partition_load="NO" # Partition MAC policy 291156952Sumemac_seeotheruids_load="NO" # UID visbility MAC policy 292156952Sume 293156952Sume############################################################## 294156952Sume### Module loading syntax example ########################## 295156952Sume############################################################## 296156952Sume 297156952Sume#module_load="YES" # loads module "module" 298156952Sume#module_name="realname" # uses "realname" instead of "module" 299156952Sume#module_type="type" # passes "-t type" to load 300156952Sume#module_flags="flags" # passes "flags" to the module 301156952Sume#module_before="cmd" # executes "cmd" before loading the module 302156952Sume#module_after="cmd" # executes "cmd" after loading the module 303156952Sume#module_error="cmd" # executes "cmd" if load fails 304156952Sume 305156952Sume