table of contents
FADVISE(1) | User Commands | FADVISE(1) |
NAME¶
fadvise - utility to use the posix_fadvise system call
SYNOPSIS¶
fadvise [-a advice] [-o offset] [-l length] filename
fadvise [-a advice] [-o offset] [-l length] -d file-descriptor
DESCRIPTION¶
fadvise is a simple command wrapping posix_fadvise(2) system call that is for predeclaring an access pattern for file data.
OPTIONS¶
-d, --fd file-descriptor
-a, --advice advice
-o, --offset offset
-l, --length length
-h, --help
-V, --version
EXIT STATUS¶
fadvise has the following exit status values:
0
1
AUTHORS¶
Masatake YAMATO <yamato@redhat.com>
SEE ALSO¶
posix_fadvise(2)
REPORTING BUGS¶
For bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>.
AVAILABILITY¶
The fadvise command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
2024-05-28 | util-linux 2.40.2 |