aboutsummaryrefslogtreecommitdiff
path: root/conf.d.BSD/localmount
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-05 11:18:42 +0000
committerRoy Marples <roy@marples.name>2007-04-05 11:18:42 +0000
commit5af58b45146ab5253ca964738f4e45287bf963d4 (patch)
tree68d3a9a61fa55dd7fe273db776c375f797edaa5b /conf.d.BSD/localmount
Rewrite the core parts in C. We now provide librc so other programs can
query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="1.2.3.4/24 5.6.7.8/16" or like so config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.
Diffstat (limited to 'conf.d.BSD/localmount')
-rw-r--r--conf.d.BSD/localmount31
1 files changed, 31 insertions, 0 deletions
diff --git a/conf.d.BSD/localmount b/conf.d.BSD/localmount
new file mode 100644
index 00000000..2002beb6
--- /dev/null
+++ b/conf.d.BSD/localmount
@@ -0,0 +1,31 @@
+# /etc/conf.d/localmount
+
+# Kernel core dump options for FreeBSD kernel.
+# Unless you're a FreeBSD kernel developer or driver writer then this won't
+# be of any interest to you at all.
+
+# The following options allow to configure the kernel's core dump
+# facilities. Please read
+# http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
+# for more information about Kernel core dumps and kernel debugging.
+
+# KERNEL_DUMP_DEVICE variable is used to specify which device will be
+# used by the kernel to write the dump down. This has to be a swap
+# partition, and has to be at least big enough to contain the whole
+# physical memory (see hw.physmem sysctl(8) variable).
+# When the variable is commented out, no core dump will be enabled for
+# the kernel.
+#KERNEL_DUMP_DEVICE="/dev/ad0s1b"
+
+# KERNEL_DUMP_DIR variable is used to tell savecore(8) utility where
+# to save the kernel core dump once it's restored from the dump
+# device. If unset, /var/crash will be used, as the default of
+# FreeBSD.
+#KERNEL_DUMP_DIR="/var/crash"
+
+# KERNEL_DUMP_COMPRESS variable decide whether to compress with
+# gzip(1) the dump or leave it of its original size (the size of the
+# physical memory present on the system). If set to yes, the -z option
+# will be passed to savecore(8) that will proceed on compressing the
+# dump.
+#KERNEL_DUMP_COMPRESS="no"