]> git.ipfire.org Git - thirdparty/util-linux.git/blame - misc-utils/fadvise.1.adoc
autotools: add missing dist_noinst_DATA
[thirdparty/util-linux.git] / misc-utils / fadvise.1.adoc
CommitLineData
642e1c69
MY
1//po4a: entry man manual
2= fadvise(1)
3:doctype: manpage
4:man manual: User Commands
5:man source: util-linux {release-version}
6:page-layout: base
7:command: fadvise
8
9== NAME
10
11fadvise - utility to use the posix_fadvise system call
12
13== SYNOPSIS
14
15*fadvise* [*-a* _advice_] [*-o* _offset_] [*-l* _length_] _filename_
16
17*fadvise* [*-a* _advice_] [*-o* _offset_] [*-l* _length_] -d _file-descriptor_
18
19== DESCRIPTION
20
21*fadvise* is a simple command wrapping posix_fadvise system call
22that is for predeclaring an access pattern for file data.
23
24== OPTIONS
25
26*-d*, *--fd* _file-descriptor_::
27Apply the advice to the file specified with the file descriptor instead
28of open a file specified with a file name.
29
30*-a*, *--advice* _advice_::
31See the command output with *--help* option for available values for
32advice. If this option is omitted, "dontneed" is used as default advice.
33
34*-o*, *--offset* _offset_::
35Specifies the beginning offset of the range, in bytes.
36If this option is omitted, 0 is used as default advice.
37
38*-l*, *--length* _length_::
39Specifies the length of the range, in bytes.
40If this option is omitted, 0 is used as default advice.
41
10333c17
TW
42include::man-common/help-version.adoc[]
43
3179b40c
TW
44== EXIT STATUS
45
46*fadvise* has the following exit status values:
47
48*0*::
49success
50*1*::
51unspecified failure
52
642e1c69
MY
53== AUTHORS
54
55mailto:yamato@redhat.com[Masatake YAMATO]
56
57== SEE ALSO
58
59*posix_fadvise*(2)
60
61include::man-common/bugreports.adoc[]
62
63include::man-common/footer.adoc[]
64
65ifdef::translation[]
66include::man-common/translation.adoc[]
67endif::[]
68