diff options
author | mm <mm@FreeBSD.org> | 2011-11-28 09:14:51 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2011-11-28 09:14:51 +0000 |
commit | 2cde0a6b7844463b0f89aef9ffd1b41e4276f4fd (patch) | |
tree | a2ab60da32a8d8c3a2af914df38cfdb7fad5ef28 | |
parent | 953eb41fbd30f0e18ce422a4154660517ba6996d (diff) | |
download | FreeBSD-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
-rw-r--r-- | cddl/contrib/opensolaris/cmd/zfs/zfs.8 | 14 |
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 |