summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2011-11-28 09:14:51 +0000
committermm <mm@FreeBSD.org>2011-11-28 09:14:51 +0000
commit2cde0a6b7844463b0f89aef9ffd1b41e4276f4fd (patch)
treea2ab60da32a8d8c3a2af914df38cfdb7fad5ef28 /cddl
parent953eb41fbd30f0e18ce422a4154660517ba6996d (diff)
downloadFreeBSD-src-2cde0a6b7844463b0f89aef9ffd1b41e4276f4fd.zip
FreeBSD-src-2cde0a6b7844463b0f89aef9ffd1b41e4276f4fd.tar.gz
Add missing warning to zfs(8) for using "zfs destroy" with -r and -R flags.
Obtained from: illumos MFC after: 6 days
Diffstat (limited to 'cddl')
-rw-r--r--cddl/contrib/opensolaris/cmd/zfs/zfs.814
1 files changed, 14 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/cmd/zfs/zfs.8 b/cddl/contrib/opensolaris/cmd/zfs/zfs.8
index f0bcb78..1fbc2be 100644
--- a/cddl/contrib/opensolaris/cmd/zfs/zfs.8
+++ b/cddl/contrib/opensolaris/cmd/zfs/zfs.8
@@ -1423,6 +1423,13 @@ Force an unmount of any file systems using the
command. This option has no effect on non-file systems or unmounted file
systems.
.El
+.Pp
+Extreme care should be taken when applying either the
+.Fl r
+or the
+.Fl R
+options, as they can destroy large portions of a pool and cause unexpected
+behavior for mounted file systems in use.
.It Xo
.Nm
.Cm destroy
@@ -1450,6 +1457,13 @@ Recursively destroy all dependents.
.It Fl d
Defer snapshot deletion.
.El
+.Pp
+Extreme care should be taken when applying either the
+.Fl r
+or the
+.Fl R
+options, as they can destroy large portions of a pool and cause unexpected
+behavior for mounted file systems in use.
.It Xo
.Nm
.Cm snapshot
OpenPOWER on IntegriCloud