Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2011 09:14:51 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228054 - head/cddl/contrib/opensolaris/cmd/zfs
Message-ID:  <201111280914.pAS9Epjo082528@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Mon Nov 28 09:14:51 2011
New Revision: 228054
URL: http://svn.freebsd.org/changeset/base/228054

Log:
  Add missing warning to zfs(8) for using "zfs destroy" with -r and -R flags.
  
  Obtained from:	illumos
  MFC after:	6 days

Modified:
  head/cddl/contrib/opensolaris/cmd/zfs/zfs.8

Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs.8
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/zfs/zfs.8	Mon Nov 28 08:16:00 2011	(r228053)
+++ head/cddl/contrib/opensolaris/cmd/zfs/zfs.8	Mon Nov 28 09:14:51 2011	(r228054)
@@ -1423,6 +1423,13 @@ Force an unmount of any file systems usi
 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



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