Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 03:52:40 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348083 - head/sbin/dumpon
Message-ID:  <201905220352.x4M3qeNf046416@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Wed May 22 03:52:39 2019
New Revision: 348083
URL: https://svnweb.freebsd.org/changeset/base/348083

Log:
  Update the example added in r348082 to specify a dump device priority.
  
  Event:	Waterloo Hackathon 2019

Modified:
  head/sbin/dumpon/dumpon.8

Modified: head/sbin/dumpon/dumpon.8
==============================================================================
--- head/sbin/dumpon/dumpon.8	Wed May 22 03:49:38 2019	(r348082)
+++ head/sbin/dumpon/dumpon.8	Wed May 22 03:52:39 2019	(r348083)
@@ -345,21 +345,17 @@ BOUND|REBIND|REBOOT|RENEW)
 		break
 	fi
 	if [ -n "$new_routers" ]; then
-                # Take the first router in the list.
+		# Take the first router in the list.
 		gateway_flag="-g ${new_routers%% *}"
 	fi
-	dumpon -c $new_ip_address -s $server $gateway_flag vtnet0
+	# Configure as the highest-priority dump device.
+	dumpon -i 0 -c $new_ip_address -s $server $gateway_flag vtnet0
 	;;
 esac
 .Ed
 .Pp
 Be sure to fill in the server IP address and change the interface name if
-needed, and to configure
-.Pp
-.Dl dumpdev="NO"
-.Pp
-in
-.Pa /etc/rc.conf .
+needed.
 .Sh SEE ALSO
 .Xr gzip 1 ,
 .Xr kgdb 1 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905220352.x4M3qeNf046416>