1 //po4a: entry man manual
4 :man manual: User Commands
5 :man source: util-linux {release-version}
11 fadvise - utility to use the posix_fadvise system call
15 *fadvise* [*-a* _advice_] [*-o* _offset_] [*-l* _length_] _filename_
17 *fadvise* [*-a* _advice_] [*-o* _offset_] [*-l* _length_] -d _file-descriptor_
21 *fadvise* is a simple command wrapping posix_fadvise system call
22 that is for predeclaring an access pattern for file data.
26 *-d*, *--fd* _file-descriptor_::
27 Apply the advice to the file specified with the file descriptor instead
28 of open a file specified with a file name.
30 *-a*, *--advice* _advice_::
31 See the command output with *--help* option for available values for
32 advice. If this option is omitted, "dontneed" is used as default advice.
34 *-o*, *--offset* _offset_::
35 Specifies the beginning offset of the range, in bytes.
36 If this option is omitted, 0 is used as default advice.
38 *-l*, *--length* _length_::
39 Specifies the length of the range, in bytes.
40 If this option is omitted, 0 is used as default advice.
42 include::man-common/help-version.adoc[]
46 *fadvise* has the following exit status values:
55 mailto:yamato@redhat.com[Masatake YAMATO]
61 include::man-common/bugreports.adoc[]
63 include::man-common/footer.adoc[]
66 include::man-common/translation.adoc[]