Linux 5.10 adds STATX_ATTR_MOUNT_ROOT support. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=80340fe3605c Add the text to the statx man page. Signed-off-by: Yang Xu <xuyang2018.jy@xxxxxxxxxxx> --- man2/statx.2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man2/statx.2 b/man2/statx.2 index 3bc4932b0..9610e171a 100644 --- a/man2/statx.2 +++ b/man2/statx.2 @@ -521,6 +521,10 @@ without an explicit See .BR mmap (2) for more information. +.TP +.B STATX_ATTR_MOUNT_ROOT " (since Linux 5.10)" +.\" commit 80340fe3605c0e78cfe496c3b3878be828cfdbfe +The file is the root of a mount. .SH RETURN VALUE On success, zero is returned. On error, \-1 is returned, and -- 2.27.0