Author: markj
Date: Thu May 17 19:06:44 2018
New Revision: 333754
URL: https://svnweb.freebsd.org/changeset/base/333754

Log:
  Remove a reference to NETDUMP_DEBUG, and document sysctls.
  
  NETDUMP_DEBUG was removed and replaced with a sysctl which enables
  debug output without requiring a recompile.

Modified:
  head/share/man/man4/netdump.4

Modified: head/share/man/man4/netdump.4
==============================================================================
--- head/share/man/man4/netdump.4       Thu May 17 18:59:12 2018        
(r333753)
+++ head/share/man/man4/netdump.4       Thu May 17 19:06:44 2018        
(r333754)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 4, 2018
+.Dd May 17, 2018
 .Dt NETDUMP 4
 .Os
 .Sh NAME
@@ -36,11 +36,6 @@ your kernel configuration file:
 .Bd -ragged -offset indent
 .Cd "options NETDUMP"
 .Ed
-.Pp
-Debug output can be enabled by adding the following line:
-.Bd -ragged -offset indent
-.Cd "options NETDUMP_DEBUG"
-.Ed
 .Sh DESCRIPTION
 netdump is a UDP-based protocol for transmitting kernel dumps to a remote host.
 A netdump client is a panicking kernel, and a netdump server is a host
@@ -112,6 +107,30 @@ The following network drivers support netdump:
 .Xr mlx4en 4 ,
 .Xr re 4 ,
 .Xr vtnet 4 .
+.Sh SYSCTL VARIABLES
+The following variables are available as both
+.Xr sysctl 8
+variables and
+.Xr loader 8
+variables:
+.Bl -tag -width "indent"
+.It Va net.netdump.debug
+Control debug message verbosity.
+Debug messages are disabled by default, but are useful when troubleshooting
+or when developing driver support.
+.It Va net.netdump.path
+Specify a path relative to the server's dump directory in which to store
+the dump.
+For example, if the
+.Nm
+server is configured to store dumps in
+.Pa /var/crash ,
+a path of
+.Dq foo
+will cause the server to attempt to store dumps from the client in
+.Pa /var/crash/foo .
+The server will not automatically create the relative directory.
+.El
 .Sh SEE ALSO
 .Xr decryptcore 8 ,
 .Xr dumpon 8 ,
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to