git: 7d189f669836 - main - growfs(7): conditionalize mention of adding dump device

From: Mike Karels <karels_at_FreeBSD.org>
Date: Mon, 23 Jan 2023 14:38:15 UTC
The branch main has been updated by karels:

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

commit 7d189f669836b81dbdeb7bc7178040a43ab9d1fe
Author:     Mike Karels <karels@FreeBSD.org>
AuthorDate: 2023-01-23 14:37:07 +0000
Commit:     Mike Karels <karels@FreeBSD.org>
CommitDate: 2023-01-23 14:37:07 +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.
    
    MFC after:      3 days
    Reviewed by:    pauamma
    Differential Revision:  https://reviews.freebsd.org/D38166
---
 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