statx.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-04-21 16:51:52 +02:00
parent ffe297ee2a
commit 77a09ad741
1 changed files with 26 additions and 22 deletions

View File

@ -154,7 +154,9 @@ The file is looked up by name, starting from the directory specified by
.IR dirfd .
.TP
[*] By file descriptor.
.IR pathname " is " NULL " and " dirfd
.IR pathname
is NULL and
.I dirfd
indicates a file descriptor.
The file attached to the file descriptor is queried directly.
The file descriptor may point to any type of file, not just
@ -330,7 +332,9 @@ or the old
together with the new
.IR stx_mode .
.PP
Apart from stx_mask (which is described above), the fields in the
Apart from
.I stx_mask
(which is described above), the fields in the
.I statx
structure are:
.TP
@ -440,30 +444,30 @@ The
field contains a set of OR'ed flags that indicate additional attributes
of the file:
.TP
STATX_ATTR_COMPRESSED
.B STATX_ATTR_COMPRESSED
The file is compressed by the fs and may take extra resources to access.
.TP
STATX_ATTR_IMMUTABLE
.B STATX_ATTR_IMMUTABLE
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.
See
.BR chattr (1).
.TP
STATX_ATTR_APPEND
.B STATX_ATTR_APPEND
The file can only be opened in append mode for writing.
Random access writing
is not permitted.
See
.BR chattr (1).
.TP
STATX_ATTR_NODUMP
.B STATX_ATTR_NODUMP
File is not a candidate for backup when a backup program such as
.BR dump (8)
is run.
See
.BR chattr (1).
.TP
STATX_ATTR_ENCRYPTED
.B STATX_ATTR_ENCRYPTED
A key is required for the file to be encrypted by the filesystem.
.SS File type and mode
.PP