X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_readahead.xml;h=88b135b7ecd4acc035e1d6863c677c7f148d42a6;hp=ac54dc48ff875a9ef7a66054edaf31269ec8e185;hb=71e6c1cf47c35cc5a58cefaabe4f6848d6f09501;hpb=e62e6670f77a886d26fbfe612e6f4fa0c2e0c98b diff --git a/man/sd_readahead.xml b/man/sd_readahead.xml index ac54dc48f..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/.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.