From owner-svn-src-head@FreeBSD.ORG Mon Nov 28 09:14:51 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9474106564A; Mon, 28 Nov 2011 09:14:51 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B860A8FC0A; Mon, 28 Nov 2011 09:14:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pAS9EpDI082530; Mon, 28 Nov 2011 09:14:51 GMT (envelope-from mm@svn.freebsd.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pAS9Epjo082528; Mon, 28 Nov 2011 09:14:51 GMT (envelope-from mm@svn.freebsd.org) Message-Id: <201111280914.pAS9Epjo082528@svn.freebsd.org> From: Martin Matuska Date: Mon, 28 Nov 2011 09:14:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228054 - head/cddl/contrib/opensolaris/cmd/zfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2011 09:14:51 -0000 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