diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2016-11-06 19:37:22 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2016-11-06 19:37:22 +0000 |
commit | 319f1fd2eab9f593f379f163b5ce2d1b3f27faca (patch) | |
tree | 88155d06988b38e7f6f39b2ba822e5267c959d9c /lib | |
parent | 2b668041d1d6721bf256c0fc6e6bb6bc2599c593 (diff) | |
download | src-319f1fd2eab9f593f379f163b5ce2d1b3f27faca.tar.gz src-319f1fd2eab9f593f379f163b5ce2d1b3f27faca.zip |
Document that getfsstat(2) called with MNT_NOWAIT skips file systems
that are in the process of being unmounted.
Reviewed by: des@ (earlier version)
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=308386
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/getfsstat.2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2 index c27c6c295a9b..9d1328007af7 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 |