loader.conf revision 102862
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 102862 2002-09-02 20:10:19Z brooks $ 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="" 20 21userconfig_script_load="NO" 22userconfig_script_name="/boot/kernel.conf" 23userconfig_script_type="userconfig_script" 24 25loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local" 26nextboot_conf="/boot/nextboot.conf" 27nextboot_enable="NO" 28 29verbose_loading="NO" # Set to YES for verbose loader output 30 31 32############################################################## 33### Splash screen configuration ############################ 34############################################################## 35 36splash_bmp_load="NO" # Set this to YES for bmp splash screen! 37splash_pcx_load="NO" # Set this to YES for pcx splash screen! 38vesa_load="NO" # Set this to YES to load the vesa module 39bitmap_load="NO" # Set this to YES if you want splash screen! 40bitmap_name="splash.bmp" # Set this to the name of the bmp or pcx file 41bitmap_type="splash_image_data" # and place it on the module_path 42 43 44############################################################## 45### Loader settings ######################################## 46############################################################## 47 48#autoboot_delay="10" # Delay in seconds before autobooting 49#console="vidconsole" # Set the current console 50#currdev="disk1s1a" # Set the current device 51module_path="/boot/kernel;/boot/modules;/modules" # Set the module search path 52#prompt="\\${interpret}" # Set the command prompt 53#root_disk_unit="0" # Force the root disk unit number 54#rootdev="disk1s1a" # Set the root filesystem 55 56 57############################################################## 58### Kernel settings ######################################## 59############################################################## 60 61 # The following boot_ variables are enabled 62 # by setting them to any value. 63#boot_askname="" # Prompt the user for the name of the root device 64#boot_ddb="" # Instructs the kernel to start in the DDB debugger 65#boot_gdb="" # Selects gdb-remote mode for the kernel debugger 66#boot_single="" # Start system in single-user mode 67#boot_userconfig="" # Run kernel's interactive device configuration program 68#boot_verbose="" # Causes extra debugging information to be printed 69#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall" 70 # Sets the list of init candidates 71#dumpdev="ad0s1b" # Set device for crash dumps 72 73 74############################################################## 75### Kernel tunables ######################################## 76############################################################## 77 78#hw.physmem="1G" # Limit phyiscal memory. See loader(8) 79#kern.dfldsiz="" # Set the initial data size limit 80#kern.dflssiz="" # Set the initial stack size limit 81#kern.hz="100" # Set the kernel interval timer rate 82#kern.maxbcache="" # Set the max buffer cache KVA storage 83#kern.maxdsiz="" # Set the max data size 84#kern.maxfiles="" # Set the sys. wide open files limit 85#kern.maxproc="" # Set the maximum # of processes 86#kern.maxssiz="" # Set the max stack size 87#kern.maxswzone="" # Set the max swmeta KVA storage 88#kern.maxtsiz="" # Set the max text size 89#kern.maxusers="32" # Set size of various static tables 90#kern.nbuf="" # Set the number of buffer headers 91#kern.ncallout="" # Set the maximum # of timer events 92#kern.sgrowsiz="" # Set the amount to grow stack 93#kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI 94#kern.ipc.maxsockets="" # Set the maximum number of sockets avaliable 95#kern.ipc.nmbclusters="" # Set the number of mbuf clusters 96#kern.ipc.nmbufs="" # Set the maximum number of mbufs 97#kern.ipc.nsfbufs="" # Set the number of sendfile(2) bufs 98#kern.vm.kmem.size="" # Sets the size of kernel memory (bytes) 99#machdep.pccard.pcic_irq="0" # Assigns PCCARD controller IRQ (0=polled) 100#net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE 101#vfs.root.mountfrom="" # Specify root partition in a way the 102 # kernel understands 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 107 108############################################################## 109### Filesystem and related modules ######################### 110############################################################## 111 112# Filesystems 113 114cd9660_load="NO" # ISO 9660 filesystem 115coda_load="NO" # CODA filesystem 116fdescfs_load="NO" # Filedescriptors filesystem 117msdosfs_load="NO" # FAT-12/16/32 118nfs_load="NO" # NFS 119ntfs_load="NO" # NTFS 120nullfs_load="NO" # Null filesystem 121portalfs_load="NO" # Portal filesystem 122procfs_load="NO" # Process filesystem 123umapfs_load="NO" # User-id map filesystem 124unionfs_load="NO" # Union filesystem 125 126# Related stuff 127 128ccd_load="NO" # Concatenated disk driver 129vinum_load="NO" # Concatenated/mirror/raid driver 130md_load="NO" # Memory disk driver (vnode/swap/malloc) 131 132 133############################################################## 134### Screen saver modules ################################### 135############################################################## 136 137# This is best done in rc.conf 138 139screensave_load="NO" # Set to YES to load a screensaver module 140screensave_name="green_saver" # Set to the name of the screensaver module 141 142 143############################################################## 144### Emulation modules ###################################### 145############################################################## 146 147fpu_load="NO" # Floating point emulation 148gnufpu_load="NO" # GNU floating point emulation 149ibcs2_load="NO" # IBCS2 (SCO) emulation 150ibcs2_coff_load="NO" 151linux_load="NO" # Linux emulation 152svr4_load="NO" # SystemV R4 emulation 153streams_load="NO" # System V streams module 154 155 156############################################################## 157### Networking modules ##################################### 158############################################################## 159 160if_disc_load="NO" # Discard device 161if_ppp_load="NO" # Kernel ppp 162if_sl_load="NO" # SLIP 163if_tun_load="NO" # Tunnel driver (user process ppp) 164ipfw_load="NO" # Firewall 165 166 167############################################################## 168### Networking drivers ##################################### 169############################################################## 170 171miibus_load="NO" # miibus support, needed for some drivers 172if_an_load="NO" # Aironet 4500/4800 802.11 wireless NICs 173if_dc_load="NO" # DEC/Intel 21143 and various workalikes 174if_fxp_load="NO" # Intel EtherExpress PRO/100B (82557, 82558) 175if_rl_load="NO" # RealTek 8129/8139 176if_sf_load="NO" # Adaptec Duralink PCI (AIC-6915 "starfire") 177if_sis_load="NO" # Silicon Integrated Systems SiS 900/7016 178if_sk_load="NO" # SysKonnect SK-984x series PCI gigabit ethernet 179if_ti_load="NO" # Alteon Networks Tigon 1 and Tigon 2 180if_tl_load="NO" # Texas Instruments TNETE100 ("ThunderLAN") 181if_vr_load="NO" # VIA Rhine I and Rhine II 182if_wb_load="NO" # Winbond W89C840F 183if_wi_load="NO" # WaveLAN/IEEE 802.11 wireless NICs 184if_wx_load="NO" # Intel Gigabit Ethernet 185if_xl_load="NO" # 3Com Etherlink XL (3c900, 3c905, 3c905B) 186 187############################################################## 188### Netgraph modules ####################################### 189############################################################## 190 191ng_UI_load="NO" # UI netgraph node type 192ng_async_load="NO" # asynchronous framing netgraph node type 193ng_bpf_load="NO" # Berkeley packet filter netgraph node type 194ng_bridge_load="NO" # Ethernet bridging netgraph node type 195ng_cisco_load="NO" # Cisco HDLC protocol netgraph node type 196ng_echo_load="NO" # Netgraph echo node type 197ng_ether_load="NO" # Ethernet netgraph node type 198ng_frame_relay_load="NO" # frame relay netgraph node type 199ng_hole_load="NO" # Netgraph discard node type 200ng_iface_load="NO" # interface Netgraph node type 201ng_ksocket_load="NO" # kernel socket netgraph node type 202ng_lmi_load="NO" # frame relay LMI protocol netgraph node type 203ng_mppc_load="NO" # Microsoft MPPC/MPPE compression and encryption netgraph node type 204ng_one2many_load="NO" # packet multiplexing netgraph node type 205ng_ppp_load="NO" # PPP protocol netgraph node type 206ng_pppoe_load="NO" # RFC 2516 PPPOE protocol netgraph node type 207ng_pptpgre_load="NO" # PPTP GRE protocol netgraph node type 208ng_rfc1490_load="NO" # RFC 1490 netgraph node type 209ng_socket_load="NO" # Netgraph socket node type 210ng_tee_load="NO" # Netgraph ``tee'' node type 211ng_tty_load="NO" # Netgraph node type that is also a line discipline 212ng_vjc_load="NO" # Van Jacobsen compression netgraph node type 213 214############################################################## 215### Sound modules ########################################## 216############################################################## 217 218snd_pcm_load="NO" # Digital sound subsystem 219snd_ad1816_load="NO" # ad1816 220snd_cmi_load="NO" # cmi 221snd_csa_load="NO" # csa 222snd_cs4281_load="NO" # cs4281 223snd_ds1_load="NO" # ds1 224snd_emu10k1_load="NO" # Creative Sound Blaster Live 225snd_ess_load="NO" # ess 226snd_es137x_load="NO" # es137x 227snd_fm801_load="NO" # fm801 228snd_ich_load="NO" # Intel ICH 229snd_maestro_load="NO" # Maestro 230snd_maestro3_load="NO" # Maestro3 231snd_mss_load="NO" # Mss 232snd_neomagic_load="NO" # Neomagic 233snd_sbc_load="NO" # Sbc 234snd_sb8_load="NO" # Sound Blaster Pro 235snd_sb16_load="NO" # Sound Blaster 16 236snd_solo_load="NO" # Solo 237snd_t4dwave_load="NO" # t4dwave 238snd_via8233_load="NO" # via8233 239snd_via82c686_load="NO" # via82c686 240snd_load="NO" # All sound drivers 241 242############################################################## 243### USB modules ############################################ 244############################################################## 245 246usb_load="NO" # USB subsystem 247udbp_load="NO" # USB double bulk pipe host 2 host cables 248ugen_load="NO" # USB generic device, if all else fails ... 249ufm_load="NO" # Fm Radio 250uhid_load="NO" # Human Interface Devices 251ukbd_load="NO" # Keyboard 252ulpt_load="NO" # Printer 253ums_load="NO" # Mouse 254umass_load="NO" # Mass Storage Devices 255umodem_load="NO" # Modems 256uscanner_load="NO" # Scanners 257if_aue_load="NO" # ADMtek USB ethernet 258if_cue_load="NO" # CATC USB ethernet 259if_kue_load="NO" # Kawasaki LSI USB ethernet 260 261############################################################## 262### Other modules ########################################## 263############################################################## 264 265bktr_load="NO" # Brooktree Bt848/Bt878 TV/Video Capture Card 266ispfw_load="NO" # Qlogic ISP Firmware 267agp_load="NO" # agp module 268accf_data_load="NO" # Wait for data accept filter 269accf_http_load="NO" # Wait for full HTTP request accept filter 270random_load="NO" # Random device 271atspeaker_load="NO" # AT speaker module 272 273############################################################## 274### ACPI settings ########################################## 275############################################################## 276 277acpi_dsdt_load="NO" # DSDT Overriding 278acpi_dsdt_type="acpi_dsdt" # Don't change this 279acpi_dsdt_name="/boot/acpi_dsdt.aml" 280 # Override DSDT in BIOS by this file 281 282############################################################## 283### TrustedBSD MAC settings ################################## 284############################################################## 285 286mac_biba_load="NO" # Biba MAC policy 287mac_bsdextended_load="NO" # BSD/extended MAC policy 288mac_ifoff="NO" # Interface silencing policy 289mac_mls_load="NO" # MLS MAC policy 290mac_none_load="NO" # Null MAC policy 291mac_partition_load="NO" # Partition MAC policy 292mac_seeotheruids_load="NO" # UID visbility MAC policy 293 294############################################################## 295### Module loading syntax example ########################## 296############################################################## 297 298#module_load="YES" # loads module "module" 299#module_name="realname" # uses "realname" instead of "module" 300#module_type="type" # passes "-t type" to load 301#module_flags="flags" # passes "flags" to the module 302#module_before="cmd" # executes "cmd" before loading the module 303#module_after="cmd" # executes "cmd" after loading the module 304#module_error="cmd" # executes "cmd" if load fails 305 306