X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_readahead.xml;h=88b135b7ecd4acc035e1d6863c677c7f148d42a6;hb=563ba9ea6e60774086555998b957edf923e24b46;hp=f5114e49a7d59063137b8749dfba18a24a6b3abb;hpb=b925e72633bf98438f56a140520e07ec8c959e46;p=elogind.git diff --git a/man/sd_readahead.xml b/man/sd_readahead.xml index f5114e49a..88b135b7e 100644 --- a/man/sd_readahead.xml +++ b/man/sd_readahead.xml @@ -123,7 +123,7 @@ reference implementation. Internally, this function creates a file in - /dev/.run/systemd/readahead/ which is + /run/systemd/readahead/ which is then used as flag file to notify the read-ahead subsystem. @@ -134,17 +134,23 @@ url="http://cgit.freedesktop.org/systemd/tree/src/sd-readahead.h"/> sd_readahead() is - implemented in the reference implementation's drop-in + implemented in the reference implementation's sd-readahead.c and - sd-readahead.h files. It is - recommended that applications consuming this API copy - the implementation into their source tree. For more - details about the reference implementation see - sd-readahead7 - - If -DDISABLE_SYSTEMD is set during compilation - this function will always return 0 and otherwise - become a NOP. + sd-readahead.h files. These + interfaces are available as shared library, which can + be compiled and linked to with the + libsystemd-daemon + pkg-config1 + file. Alternatively, applications consuming this API + may copy the implementation into their source + tree. For more details about the reference + implementation see + sd-readahead7. + + If the reference implementation is used as + drop-in files and -DDISABLE_SYSTEMD is set during + compilation this function will always return 0 and + otherwise become a NOP.