From 9a00f57a5ba7ed431e6bac8d8b36518708503b4e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 2 Jul 2014 12:23:36 +0200 Subject: path: add new "systemd-path" utility for querying paths described in file-hierarchy(7) This new tool is based on "sd-path", a new (so far unexported) API for libsystemd, that can hopefully grow into a workable API covering /opt and more one day. --- man/systemd-path.xml | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 man/systemd-path.xml (limited to 'man/systemd-path.xml') diff --git a/man/systemd-path.xml b/man/systemd-path.xml new file mode 100644 index 0000000000..fc01d5edd4 --- /dev/null +++ b/man/systemd-path.xml @@ -0,0 +1,111 @@ + + + + + + + + + systemd-path + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-path + 1 + + + + systemd-path + List and query system and user paths + + + + + systemd-path OPTIONS NAME + + + + + Description + + systemd-path may be used to + query system and user paths. The tool makes many of + the paths described in + file-hierarchy7 + queriable. + + When invoked without arguments a list of known + paths and their current values is shown. When at least + one argument is passed the path with this is name is + queried and its value shown. The variables whose name + begins with search- don't refer to + individual paths, but instead a to a list of + colon-separated search paths, in their order of + precedence. + + + + Options + + The following options are understood: + + + + + + The printed paths are + suffixed by the specified + string. + + + + + + + + + + Exit status + + On success, 0 is returned, a non-zero failure + code otherwise. + + + + See Also + + systemd1, + file-hierarchy7 + + + + -- cgit v1.2.3-54-g00ecf