summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-12-19 12:25:30 +0000
committertrasz <trasz@FreeBSD.org>2016-12-19 12:25:30 +0000
commit104ec22abcafce94c70775ffd7f3708023a36fe0 (patch)
tree770cdb23596c826a405b5714869537d36c51301b /lib
parent38d7b65c0fa5675298b760e1f3d721d711afe825 (diff)
downloadFreeBSD-src-104ec22abcafce94c70775ffd7f3708023a36fe0.zip
FreeBSD-src-104ec22abcafce94c70775ffd7f3708023a36fe0.tar.gz
MFC r308386:
Document that getfsstat(2) called with MNT_NOWAIT skips file systems that are in the process of being unmounted.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/getfsstat.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2
index c27c6c2..9d13280 100644
--- a/lib/libc/sys/getfsstat.2
+++ b/lib/libc/sys/getfsstat.2
@@ -28,7 +28,7 @@
.\" @(#)getfsstat.2 8.3 (Berkeley) 5/25/95
.\" $FreeBSD$
.\"
-.Dd November 20, 2003
+.Dd November 6, 2016
.Dt GETFSSTAT 2
.Os
.Sh NAME
@@ -88,6 +88,8 @@ Thus, some of the information will be out of date, but
.Fn getfsstat
will not block waiting for information from a file system that is
unable to respond.
+It will also skip any file system that is in the process of being
+unmounted, even if the unmount would eventually fail.
.Sh RETURN VALUES
Upon successful completion, the number of
.Fa statfs
OpenPOWER on IntegriCloud