FreeBSD Bugzilla – Attachment 16739 Details for
Bug 30596
Patch to specify a different directory to savecore
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
savecore.patch
savecore.patch (text/plain), 1.14 KB, created by
mux
on 2001-09-15 19:10:00 UTC
(
hide
)
Description:
savecore.patch
Filename:
MIME Type:
Creator:
mux
Created:
2001-09-15 19:10:00 UTC
Size:
1.14 KB
patch
obsolete
>--- /etc/rc Tue Sep 11 20:44:22 2001 >+++ rc Tue Sep 11 20:45:47 2001 >@@ -485,17 +485,17 @@ > fi > > # Enable dumpdev so that savecore can see it. >-# /var/crash should be a directory or a symbolic link >+# ${savecore_dir} should be a directory or a symbolic link > # to the crash directory if core dumps are to be saved. > # > case ${dumpdev} in > [Nn][Oo] | '') > ;; > *) >- if [ -e "${dumpdev}" -a -d /var/crash ]; then >+ if [ -e "${dumpdev}" -a -d "${savecore_dir}" ]; then > /sbin/dumpon -v ${dumpdev} > echo -n 'Checking for core dump: ' >- /sbin/savecore ${savecore_flags} /var/crash >+ /sbin/savecore ${savecore_flags} ${savecore_dir} > fi > ;; > esac >--- /etc/defaults/rc.conf Tue Sep 11 20:43:40 2001 >+++ rc.conf Tue Sep 11 20:43:30 2001 >@@ -326,6 +326,7 @@ > diskcheckd_flags="" # Flags to diskcheckd(8). > dumpdev="NO" # Device name to crashdump to (or NO). > savecore_flags="" # Used if dumpdev is enabled above, and present. >+savecore_dir="/var/crash" # Where to put the kernel core dumps. > enable_quotas="NO" # turn on quotas on startup (or NO). > check_quotas="YES" # Check quotas on startup (or NO). > accounting_enable="NO" # Turn on process accounting (or NO).
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30596
: 16739