svn commit: r228054 - head/cddl/contrib/opensolaris/cmd/zfs

Martin Matuska mm at FreeBSD.org
Mon Nov 28 09:14:51 UTC 2011


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


More information about the svn-src-head mailing list