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/file-hierarchy.xml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'man/file-hierarchy.xml') diff --git a/man/file-hierarchy.xml b/man/file-hierarchy.xml index 4d542caad4..a996bb69d2 100644 --- a/man/file-hierarchy.xml +++ b/man/file-hierarchy.xml @@ -62,6 +62,11 @@ subset of these specifications that defines more strictly the suggestions and restrictions systemd makes on the file system hierarchy. + + Many of the paths described here are queriable + with the + systemd-path1 + tool. @@ -296,8 +301,8 @@ /usr/lib/arch-id Location for placing - dynamic libraries, called $libdir. - The architecture identifier to use, is defined on $libdir. + The architecture identifier to use is defined on Multiarch Architecture Specifiers (Tuples) list. Legacy locations of $libdir are /usr/lib, @@ -309,7 +314,10 @@ $libdir for the primary architecture of the system, invoke: - # pkg-config --variable=libdir systemd + # pkg-config --variable=libdir systemd or + # systemd-path system-library-arch + + @@ -621,7 +629,10 @@ of these directories are also standardized (though more weakly) by the XDG - Base Directory Specification. + Base Directory Specification. Additional + locations for high-level user resources are defined by + xdg-user-dirs. @@ -952,6 +963,7 @@ systemd1, hier7, + systemd-path1, systemd-boot-generator8, sysctl.d5, tmpfiles.d5, -- cgit v1.2.1