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 . .IR dirfd .
.TP .TP
[*] By file descriptor. [*] By file descriptor.
.IR pathname " is " NULL " and " dirfd .IR pathname
is NULL and
.I dirfd
indicates a file descriptor. indicates a file descriptor.
The file attached to the file descriptor is queried directly. The file attached to the file descriptor is queried directly.
The file descriptor may point to any type of file, not just The file descriptor may point to any type of file, not just
@ -330,7 +332,9 @@ or the old
together with the new together with the new
.IR stx_mode . .IR stx_mode .
.PP .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 .I statx
structure are: structure are:
.TP .TP
@ -440,30 +444,30 @@ The
field contains a set of OR'ed flags that indicate additional attributes field contains a set of OR'ed flags that indicate additional attributes
of the file: of the file:
.TP .TP
STATX_ATTR_COMPRESSED .B STATX_ATTR_COMPRESSED
The file is compressed by the fs and may take extra resources to access. The file is compressed by the fs and may take extra resources to access.
.TP .TP
STATX_ATTR_IMMUTABLE .B STATX_ATTR_IMMUTABLE
The file cannot be modified: it cannot be deleted or renamed, 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. no hard links can be created to this file and no data can be written to it.
See See
.BR chattr (1). .BR chattr (1).
.TP .TP
STATX_ATTR_APPEND .B 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 See
.BR chattr (1). .BR chattr (1).
.TP .TP
STATX_ATTR_NODUMP .B STATX_ATTR_NODUMP
File is not a candidate for backup when a backup program such as File is not a candidate for backup when a backup program such as
.BR dump (8) .BR dump (8)
is run. is run.
See See
.BR chattr (1). .BR chattr (1).
.TP .TP
STATX_ATTR_ENCRYPTED .B 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.
.SS File type and mode .SS File type and mode
.PP .PP