diff options
author | Mark Johnston <markj@FreeBSD.org> | 2019-05-22 03:52:39 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2019-05-22 03:52:39 +0000 |
commit | 48faa24b09a46f343a1ba55ac9ba4961bb7d6e40 (patch) | |
tree | 800ab7b84ce9ff724208256b923672e0c6333960 /sbin/dumpon | |
parent | 73cc16949ae35fe24b67918b0630f2fd0d4c830c (diff) | |
download | src-48faa24b09a46f343a1ba55ac9ba4961bb7d6e40.tar.gz src-48faa24b09a46f343a1ba55ac9ba4961bb7d6e40.zip |
Update the example added in r348082 to specify a dump device priority.
Event: Waterloo Hackathon 2019
Notes
Notes:
svn path=/head/; revision=348083
Diffstat (limited to 'sbin/dumpon')
-rw-r--r-- | sbin/dumpon/dumpon.8 | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sbin/dumpon/dumpon.8 b/sbin/dumpon/dumpon.8 index d5f45d4e03ff..0379042b528e 100644 --- a/sbin/dumpon/dumpon.8 +++ b/sbin/dumpon/dumpon.8 @@ -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 , |