1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

man: mention that distinction between /usr/lib/ and /usr/share/ is really about shared *ownership*

This commit is contained in:
Lennart Poettering 2024-07-03 10:10:07 +02:00
parent 26db8fe247
commit 39aafbd42a

View File

@ -212,7 +212,12 @@
<term><filename>/usr/share/</filename></term> <term><filename>/usr/share/</filename></term>
<listitem><para>Resources shared between multiple packages, such as documentation, man pages, time <listitem><para>Resources shared between multiple packages, such as documentation, man pages, time
zone information, fonts and other resources. Usually, the precise location and format of files stored zone information, fonts and other resources. Usually, the precise location and format of files stored
below this directory is subject to specifications that ensure interoperability.</para></listitem> below this directory is subject to specifications that ensure interoperability.</para>
<para>Note that resources placed in this directory typically are under shared ownership,
i.e. multiple different packages have provide and consume these resources, on equal footing, without
any obvious primary owner. This makes makes things systematically different from
<filename>/usr/lib/</filename>, where ownership is generally not shared.</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
@ -618,9 +623,9 @@
</tgroup> </tgroup>
</table> </table>
<para>Additional static vendor files may be installed in the <para>Additional static vendor files with shared ownership may be installed in the
<filename>/usr/share/</filename> hierarchy to the locations <filename>/usr/share/</filename> hierarchy to the locations defined by the various relevant
defined by the various relevant specifications.</para> specifications.</para>
<para>The following directories shall be used by the package for local configuration and files created <para>The following directories shall be used by the package for local configuration and files created
during runtime:</para> during runtime:</para>
@ -710,9 +715,9 @@
</tgroup> </tgroup>
</table> </table>
<para>Additional static vendor files may be installed in the <filename>~/.local/share/</filename> <para>Additional static vendor files with shared ownership may be installed in the
hierarchy, mirroring the subdirectories specified in the section "Vendor-supplied operating system <filename>~/.local/share/</filename> hierarchy, mirroring the subdirectories specified in the section
resources" above.</para> "Vendor-supplied operating system resources" above.</para>
<para>The following directories shall be used by the package for per-user local configuration and files <para>The following directories shall be used by the package for per-user local configuration and files
created during runtime:</para> created during runtime:</para>