statx.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-04-21 16:47:05 +02:00
parent 14b5d02a46
commit 709f7bb642
1 changed files with 15 additions and 9 deletions

View File

@ -217,18 +217,18 @@ can also be used to control what sort of synchronization the kernel will do
when querying a file on a remote filesystem. when querying a file on a remote filesystem.
This is done by OR'ing in one of the following values: This is done by OR'ing in one of the following values:
.TP .TP
AT_STATX_SYNC_AS_STAT .B AT_STATX_SYNC_AS_STAT
Do whatever Do whatever
.BR stat (2) .BR stat (2)
does. does.
This is the default and is very much filesystem specific. This is the default and is very much filesystem specific.
.TP .TP
AT_STATX_FORCE_SYNC .B AT_STATX_FORCE_SYNC
Force the attributes to be synchronised with the server. Force the attributes to be synchronised with the server.
This may require that This may require that
a network filesystem perform a data writeback to get the timestamps correct. a network filesystem perform a data writeback to get the timestamps correct.
.TP .TP
AT_STATX_DONT_SYNC .B AT_STATX_DONT_SYNC
Don't synchronise anything, but rather just take whatever the system has cached Don't synchronise anything, but rather just take whatever the system has cached
if possible. if possible.
This may mean that the information returned is approximate, but, This may mean that the information returned is approximate, but,
@ -266,7 +266,9 @@ STATX_ALL [All currently available fields]
.B "Do not" .B "Do not"
simply set simply set
.I mask .I mask
to UINT_MAX as one or more bits may, in the future, be used to specify an to
.B UINT_MAX
as one or more bits may, in the future, be used to specify an
extension to the buffer. extension to the buffer.
.SS .SS
The returned information The returned information
@ -444,18 +446,22 @@ The file is compressed by the fs and may take extra resources to access.
STATX_ATTR_IMMUTABLE STATX_ATTR_IMMUTABLE
The file cannot be modified: it cannot be deleted or renamed, no hard links can The file cannot be modified: it cannot be deleted or renamed, no hard links can
be created to this file and no data can be written to it. be created to this file and no data can be written to it.
See chattr(1). See
.BR chattr (1).
.TP .TP
STATX_ATTR_APPEND STATX_ATTR_APPEND
The file can only be opened in append mode for writing. The file can only be opened in append mode for writing.
Random access writing Random access writing
is not permitted. is not permitted.
See chattr(1). See
.BR chattr (1).
.TP .TP
STATX_ATTR_NODUMP STATX_ATTR_NODUMP
File is not a candidate for backup when a backup program such as dump(8) is File is not a candidate for backup when a backup program such as
run. .BR dump (8)
See chattr(1). is run.
See
.BR chattr (1).
.TP .TP
STATX_ATTR_ENCRYPTED STATX_ATTR_ENCRYPTED
A key is required for the file to be encrypted by the filesystem. A key is required for the file to be encrypted by the filesystem.