mirror of https://github.com/mkerrisk/man-pages
statx.2: Document STATX_MNT_ID
Linux 5.8 adds STATX_MNT_ID and stx_mnt_id. Add description to statx.2 Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4c313d979d
commit
728009a474
11
man2/statx.2
11
man2/statx.2
|
@ -77,6 +77,7 @@ struct statx {
|
|||
containing the filesystem where the file resides */
|
||||
__u32 stx_dev_major; /* Major ID */
|
||||
__u32 stx_dev_minor; /* Minor ID */
|
||||
__u64 stx_mnt_id; /* Mount ID */
|
||||
};
|
||||
.EE
|
||||
.in
|
||||
|
@ -258,6 +259,7 @@ STATX_SIZE Want stx_size
|
|||
STATX_BLOCKS Want stx_blocks
|
||||
STATX_BASIC_STATS [All of the above]
|
||||
STATX_BTIME Want stx_btime
|
||||
STATX_MNT_ID Want stx_mnt_id (since Linux 5.8)
|
||||
STATX_ALL [All currently available fields]
|
||||
.TE
|
||||
.in
|
||||
|
@ -411,6 +413,13 @@ The device on which this file (inode) resides.
|
|||
.IR stx_rdev_major " and " stx_rdev_minor
|
||||
The device that this file (inode) represents if the file is of block or
|
||||
character device type.
|
||||
.TP
|
||||
.I stx_mnt_id
|
||||
.\" commit fa2fcf4f1df1559a0a4ee0f46915b496cc2ebf60
|
||||
The mount ID of the mount containing the file. This is the same number reported by
|
||||
.BR name_to_handle_at (2)
|
||||
and corresponds to the number in the first field in one of the records in
|
||||
.IR /proc/self/mountinfo .
|
||||
.PP
|
||||
For further information on the above fields, see
|
||||
.BR inode (7).
|
||||
|
@ -573,9 +582,11 @@ is Linux-specific.
|
|||
.BR access (2),
|
||||
.BR chmod (2),
|
||||
.BR chown (2),
|
||||
.BR name_to_handle_at (2),
|
||||
.BR readlink (2),
|
||||
.BR stat (2),
|
||||
.BR utime (2),
|
||||
.BR proc (5),
|
||||
.BR capabilities (7),
|
||||
.BR inode (7),
|
||||
.BR symlink (7)
|
||||
|
|
Loading…
Reference in New Issue