aboutsummaryrefslogtreecommitdiff
path: root/sbin/umount
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2015-06-17 23:24:46 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2015-06-17 23:24:46 +0000
commit1e68ee21e0d00b04be1f3271b40b6217c0915f38 (patch)
treeb50c1d8b5ca42245eacad91247abec226b65632c /sbin/umount
parent093ebe1d284505f3f99c9376c43a80c30b2d8ea2 (diff)
downloadsrc-1e68ee21e0d00b04be1f3271b40b6217c0915f38.tar.gz
src-1e68ee21e0d00b04be1f3271b40b6217c0915f38.zip
Document that a forced dismount of an NFSv3 mount when the
NLM (rpc.lockd) is running can crash the system. Unfortunately this is not easy to fix, but I have left PR#200585 open. PR: 200585 MFC after: 3 days
Notes
Notes: svn path=/head/; revision=284531
Diffstat (limited to 'sbin/umount')
-rw-r--r--sbin/umount/umount.85
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/umount/umount.8 b/sbin/umount/umount.8
index e62bcc5dad58..2ddbf5a07ce6 100644
--- a/sbin/umount/umount.8
+++ b/sbin/umount/umount.8
@@ -28,7 +28,7 @@
.\" @(#)umount.8 8.2 (Berkeley) 5/8/95
.\" $FreeBSD$
.\"
-.Dd November 22, 2014
+.Dd June 17, 2015
.Dt UMOUNT 8
.Os
.Sh NAME
@@ -81,6 +81,9 @@ The root file system cannot be forcibly unmounted.
For NFS, a forced dismount can take up to 1 minute or more to
complete against an unresponsive server and may throw away
data not yet written to the server for this case.
+Also, doing a forced dismount of an NFSv3 mount when
+.Xr rpc.lockd 8
+is running is unsafe and can result in a crash.
.It Fl h Ar host
Only file systems mounted from the specified host will be
unmounted.