git: d399b27627d5 - stable/13 - growfs(7): conditionalize mention of adding dump device

From: Mike Karels <karels_at_FreeBSD.org>
Date: Thu, 26 Jan 2023 13:42:32 UTC
The branch stable/13 has been updated by karels:

URL: https://cgit.FreeBSD.org/src/commit/?id=d399b27627d50726546ffeb9bef5c752013aa201

commit d399b27627d50726546ffeb9bef5c752013aa201
Author:     Mike Karels <karels@FreeBSD.org>
AuthorDate: 2023-01-23 14:37:07 +0000
Commit:     Mike Karels <karels@FreeBSD.org>
CommitDate: 2023-01-26 13:41:52 +0000

    growfs(7): conditionalize mention of adding dump device
    
    The growfs_fstab script will add a new swap partition as a dump
    device as well, but only if dumpdev is set to AUTO.
    
    Reviewed by:    pauamma
    Differential Revision:  https://reviews.freebsd.org/D38166
    
    (cherry picked from commit 7d189f669836b81dbdeb7bc7178040a43ab9d1fe)
---
 share/man/man7/growfs.7 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/share/man/man7/growfs.7 b/share/man/man7/growfs.7
index 41903023af91..1c2345918a65 100644
--- a/share/man/man7/growfs.7
+++ b/share/man/man7/growfs.7
@@ -56,7 +56,12 @@ The
 script adds any new swap partition to
 .Pa /etc/fstab
 after the root file system is made writable,
-and enables its use as a dump partition.
+and enables its use as a dump partition if the
+.Va dumpdev
+variable from
+.Xr rc.conf 5
+is set to
+.Li AUTO .
 .Pp
 The following options in
 .Pa /etc/rc.conf