summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiten Pandya <hmp@FreeBSD.org>2003-05-07 19:37:51 +0000
committerHiten Pandya <hmp@FreeBSD.org>2003-05-07 19:37:51 +0000
commit8340d5bcaef558c8068eea41fd0270b06b6e2e2f (patch)
tree0bb5ccacae052ef277bde647d54915186bfd380f
parent924a7003b0f2a2c647f5b3e7c9ecd5c2c8f72dc9 (diff)
Notes
-rw-r--r--sbin/dumpon/dumpon.826
1 files changed, 15 insertions, 11 deletions
diff --git a/sbin/dumpon/dumpon.8 b/sbin/dumpon/dumpon.8
index 8fd88c201006..0401112e7930 100644
--- a/sbin/dumpon/dumpon.8
+++ b/sbin/dumpon/dumpon.8
@@ -72,7 +72,7 @@ The
flag causes
.Nm
to be verbose about its activity.
-.Sh NOTES
+.Sh IMPLEMENTATION NOTES
Since a
.Xr panic 9
condition may occur in a situation
@@ -86,18 +86,23 @@ should be used as the dump device.
.Pp
The
.Nm
-utility operates by setting the
-.Xr sysctl 3
-MIB variable
-.Dq kern.dumpdev
-to the device number of the designated
+utility operates by opening
.Ar special_file
-or to
-.Dv NODEV
-(meaning that no dumps are to be taken) if
+and making a
+.Dv DIOCSKERNELDUMP
+.Xr ioctl 2
+request on it to save kernel crash dumps.
+If
.Ar special_file
is the text string:
-.Dq Li off .
+.Dq Li off ,
+.Nm
+performs a
+.Dv DIOCSKERNELDUMP
+.Xr ioctl 2
+on
+.Pa /dev/null
+and thus instructs the kernel not to save crash dumps.
.Pp
Since
.Nm
@@ -108,7 +113,6 @@ variable of
must be used to enable dumps for system panics which occur
during kernel initialization.
.Sh SEE ALSO
-.Xr sysctl 3 ,
.Xr fstab 5 ,
.Xr rc.conf 5 ,
.Xr config 8 ,