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.
7 # All arguments must be in double quotes.
11 ##############################################################
12 ### Basic configuration options ############################
13 ##############################################################
15 exec=".( Loading /boot/defaults/loader.conf ) cr"
17 kernel="kernel" # /boot sub-directory containing kernel and modules
18 bootfile="kernel" # Kernel name (possibly absolute path)
21 userconfig_script_load="NO"
22 userconfig_script_name="/boot/kernel.conf"
23 userconfig_script_type="userconfig_script"
25 loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local"
26 nextboot_conf="/boot/nextboot.conf"
29 verbose_loading="NO" # Set to YES for verbose loader output
32 ##############################################################
33 ### Splash screen configuration ############################
34 ##############################################################
36 splash_bmp_load="NO" # Set this to YES for bmp splash screen!
37 splash_pcx_load="NO" # Set this to YES for pcx splash screen!
38 vesa_load="NO" # Set this to YES to load the vesa module
39 bitmap_load="NO" # Set this to YES if you want splash screen!
40 bitmap_name="splash.bmp" # Set this to the name of the bmp or pcx file
41 bitmap_type="splash_image_data" # and place it on the module_path
44 ##############################################################
45 ### Loader settings ########################################
46 ##############################################################
48 #autoboot_delay="10" # Delay in seconds before autobooting
49 #console="vidconsole" # Set the current console
50 #currdev="disk1s1a" # Set the current device
51 module_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
57 ##############################################################
58 ### Kernel settings ########################################
59 ##############################################################
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
74 ##############################################################
75 ### Kernel tunables ########################################
76 ##############################################################
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.ipc.maxsockets="" # Set the maximum number of sockets avaliable
94 #kern.ipc.nmbclusters="" # Set the number of mbuf clusters
95 #kern.ipc.nmbufs="" # Set the maximum number of mbufs
96 #kern.ipc.nsfbufs="" # Set the number of sendfile(2) bufs
97 #kern.vm.kmem.size="" # Sets the size of kernel memory (bytes)
98 #machdep.pccard.pcic_irq="0" # Assigns PCCARD controller IRQ (0=polled)
99 #net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE
100 #vfs.root.mountfrom="" # Specify root partition in a way the
102 #debug.ktr.cpumask="0xf" # Bitmask of CPUs to enable KTR on
103 #debug.ktr.mask="0x1200" # Bitmask of KTR events to enable
104 #debug.ktr.verbose="1" # Enable console dump of KTR events
107 ##############################################################
108 ### Filesystem and related modules #########################
109 ##############################################################
113 cd9660_load="NO" # ISO 9660 filesystem
114 coda_load="NO" # CODA filesystem
115 fdescfs_load="NO" # Filedescriptors filesystem
116 msdosfs_load="NO" # FAT-12/16/32
118 ntfs_load="NO" # NTFS
119 nullfs_load="NO" # Null filesystem
120 portalfs_load="NO" # Portal filesystem
121 procfs_load="NO" # Process filesystem
122 umapfs_load="NO" # User-id map filesystem
123 unionfs_load="NO" # Union filesystem
127 ccd_load="NO" # Concatenated disk driver
128 vinum_load="NO" # Concatenated/mirror/raid driver
129 md_load="NO" # Memory disk driver (vnode/swap/malloc)
132 ##############################################################
133 ### Screen saver modules ###################################
134 ##############################################################
136 # This is best done in rc.conf
138 screensave_load="NO" # Set to YES to load a screensaver module
139 screensave_name="green_saver" # Set to the name of the screensaver module
142 ##############################################################
143 ### Emulation modules ######################################
144 ##############################################################
146 fpu_load="NO" # Floating point emulation
147 gnufpu_load="NO" # GNU floating point emulation
148 ibcs2_load="NO" # IBCS2 (SCO) emulation
150 linux_load="NO" # Linux emulation
151 svr4_load="NO" # SystemV R4 emulation
152 streams_load="NO" # System V streams module
155 ##############################################################
156 ### Networking modules #####################################
157 ##############################################################
159 if_disc_load="NO" # Discard device
160 if_ppp_load="NO" # Kernel ppp
161 if_sl_load="NO" # SLIP
162 if_tun_load="NO" # Tunnel driver (user process ppp)
163 ipfw_load="NO" # Firewall
166 ##############################################################
167 ### Networking drivers #####################################
168 ##############################################################
170 miibus_load="NO" # miibus support, needed for some drivers
171 if_an_load="NO" # Aironet 4500/4800 802.11 wireless NICs
172 if_dc_load="NO" # DEC/Intel 21143 and various workalikes
173 if_fxp_load="NO" # Intel EtherExpress PRO/100B (82557, 82558)
174 if_rl_load="NO" # RealTek 8129/8139
175 if_sf_load="NO" # Adaptec Duralink PCI (AIC-6915 "starfire")
176 if_sis_load="NO" # Silicon Integrated Systems SiS 900/7016
177 if_sk_load="NO" # SysKonnect SK-984x series PCI gigabit ethernet
178 if_ti_load="NO" # Alteon Networks Tigon 1 and Tigon 2
179 if_tl_load="NO" # Texas Instruments TNETE100 ("ThunderLAN")
180 if_vr_load="NO" # VIA Rhine I and Rhine II
181 if_wb_load="NO" # Winbond W89C840F
182 if_wi_load="NO" # WaveLAN/IEEE 802.11 wireless NICs
183 if_wx_load="NO" # Intel Gigabit Ethernet
184 if_xl_load="NO" # 3Com Etherlink XL (3c900, 3c905, 3c905B)
186 ##############################################################
187 ### Netgraph modules #######################################
188 ##############################################################
190 ng_UI_load="NO" # UI netgraph node type
191 ng_async_load="NO" # asynchronous framing netgraph node type
192 ng_bpf_load="NO" # Berkeley packet filter netgraph node type
193 ng_bridge_load="NO" # Ethernet bridging netgraph node type
194 ng_cisco_load="NO" # Cisco HDLC protocol netgraph node type
195 ng_echo_load="NO" # Netgraph echo node type
196 ng_ether_load="NO" # Ethernet netgraph node type
197 ng_frame_relay_load="NO" # frame relay netgraph node type
198 ng_hole_load="NO" # Netgraph discard node type
199 ng_iface_load="NO" # interface Netgraph node type
200 ng_ksocket_load="NO" # kernel socket netgraph node type
201 ng_lmi_load="NO" # frame relay LMI protocol netgraph node type
202 ng_mppc_load="NO" # Microsoft MPPC/MPPE compression and encryption netgraph node type
203 ng_one2many_load="NO" # packet multiplexing netgraph node type
204 ng_ppp_load="NO" # PPP protocol netgraph node type
205 ng_pppoe_load="NO" # RFC 2516 PPPOE protocol netgraph node type
206 ng_pptpgre_load="NO" # PPTP GRE protocol netgraph node type
207 ng_rfc1490_load="NO" # RFC 1490 netgraph node type
208 ng_socket_load="NO" # Netgraph socket node type
209 ng_tee_load="NO" # Netgraph ``tee'' node type
210 ng_tty_load="NO" # Netgraph node type that is also a line discipline
211 ng_vjc_load="NO" # Van Jacobsen compression netgraph node type
213 ##############################################################
214 ### Sound modules ##########################################
215 ##############################################################
217 snd_pcm_load="NO" # Digital sound subsystem
218 snd_ad1816_load="NO" # ad1816
219 snd_cmi_load="NO" # cmi
220 snd_csa_load="NO" # csa
221 snd_cs4281_load="NO" # cs4281
222 snd_ds1_load="NO" # ds1
223 snd_emu10k1_load="NO" # Creative Sound Blaster Live
224 snd_ess_load="NO" # ess
225 snd_es137x_load="NO" # es137x
226 snd_fm801_load="NO" # fm801
227 snd_ich_load="NO" # Intel ICH
228 snd_maestro_load="NO" # Maestro
229 snd_maestro3_load="NO" # Maestro3
230 snd_mss_load="NO" # Mss
231 snd_neomagic_load="NO" # Neomagic
232 snd_sbc_load="NO" # Sbc
233 snd_sb8_load="NO" # Sound Blaster Pro
234 snd_sb16_load="NO" # Sound Blaster 16
235 snd_solo_load="NO" # Solo
236 snd_t4dwave_load="NO" # t4dwave
237 snd_via82c686_load="NO" # via82c686
238 snd_load="NO" # All sound drivers
240 ##############################################################
241 ### USB modules ############################################
242 ##############################################################
244 usb_load="NO" # USB subsystem
245 udbp_load="NO" # USB double bulk pipe host 2 host cables
246 ugen_load="NO" # USB generic device, if all else fails ...
247 ufm_load="NO" # Fm Radio
248 uhid_load="NO" # Human Interface Devices
249 ukbd_load="NO" # Keyboard
250 ulpt_load="NO" # Printer
251 ums_load="NO" # Mouse
252 umass_load="NO" # Mass Storage Devices
253 umodem_load="NO" # Modems
254 uscanner_load="NO" # Scanners
255 if_aue_load="NO" # ADMtek USB ethernet
256 if_cue_load="NO" # CATC USB ethernet
257 if_kue_load="NO" # Kawasaki LSI USB ethernet
259 ##############################################################
260 ### Other modules ##########################################
261 ##############################################################
263 bktr_load="NO" # Brooktree Bt848/Bt878 TV/Video Capture Card
264 ispfw_load="NO" # Qlogic ISP Firmware
265 agp_load="NO" # agp module
266 accf_data_load="NO" # Wait for data accept filter
267 accf_http_load="NO" # Wait for full HTTP request accept filter
268 random_load="NO" # Random device
269 atspeaker_load="NO" # AT speaker module
271 ##############################################################
272 ### ACPI settings ##########################################
273 ##############################################################
275 acpi_dsdt_load="NO" # DSDT Overriding
276 acpi_dsdt_type="acpi_dsdt" # Don't change this
277 acpi_dsdt_name="/boot/acpi_dsdt.aml"
278 # Override DSDT in BIOS by this file
280 ##############################################################
281 ### TrustedBSD MAC settings ##################################
282 ##############################################################
284 mac_biba_load="NO" # Biba MAC policy
285 mac_bsdextended_load="NO" # BSD/extended MAC policy
286 mac_ifoff="NO" # Interface silencing policy
287 mac_mls_load="NO" # MLS MAC policy
288 mac_none_load="NO" # Null MAC policy
289 mac_partition_load="NO" # Partition MAC policy
290 mac_seeotheruids_load="NO" # UID visbility MAC policy
292 ##############################################################
293 ### Module loading syntax example ##########################
294 ##############################################################
296 #module_load="YES" # loads module "module"
297 #module_name="realname" # uses "realname" instead of "module"
298 #module_type="type" # passes "-t type" to load
299 #module_flags="flags" # passes "flags" to the module
300 #module_before="cmd" # executes "cmd" before loading the module
301 #module_after="cmd" # executes "cmd" after loading the module
302 #module_error="cmd" # executes "cmd" if load fails