]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/binfmt.d.xml
man: generate configured paths in manpages
[thirdparty/systemd.git] / man / binfmt.d.xml
CommitLineData
151b190e
LP
1<?xml version="1.0"?>
2<!--*-nxml-*-->
681eb9cf
FB
3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4<!ENTITY % entities SYSTEM "custom-entities.ent" >
5%entities;
6]>
151b190e
LP
7<!--
8 This file is part of systemd.
9
c91faef3 10 Copyright 2011 Lennart Poettering
151b190e
LP
11
12 systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
13 under the terms of the GNU Lesser General Public License as published by
14 the Free Software Foundation; either version 2.1 of the License, or
151b190e
LP
15 (at your option) any later version.
16
17 systemd is distributed in the hope that it will be useful, but
18 WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5430f7f2 20 Lesser General Public License for more details.
151b190e 21
5430f7f2 22 You should have received a copy of the GNU Lesser General Public License
151b190e
LP
23 along with systemd; If not, see <http://www.gnu.org/licenses/>.
24-->
d3fae78f 25<refentry id="binfmt.d" conditional='ENABLE_BINFMT'
798d3a52
ZJS
26 xmlns:xi="http://www.w3.org/2001/XInclude">
27
28 <refentryinfo>
29 <title>binfmt.d</title>
30 <productname>systemd</productname>
31
32 <authorgroup>
33 <author>
34 <contrib>Developer</contrib>
35 <firstname>Lennart</firstname>
36 <surname>Poettering</surname>
37 <email>lennart@poettering.net</email>
38 </author>
39 </authorgroup>
40 </refentryinfo>
41
42 <refmeta>
43 <refentrytitle>binfmt.d</refentrytitle>
44 <manvolnum>5</manvolnum>
45 </refmeta>
46
47 <refnamediv>
48 <refname>binfmt.d</refname>
49 <refpurpose>Configure additional binary formats for
50 executables at boot</refpurpose>
51 </refnamediv>
52
53 <refsynopsisdiv>
54 <para><filename>/etc/binfmt.d/*.conf</filename></para>
55 <para><filename>/run/binfmt.d/*.conf</filename></para>
56 <para><filename>/usr/lib/binfmt.d/*.conf</filename></para>
57 </refsynopsisdiv>
58
59 <refsect1>
60 <title>Description</title>
61
62 <para>At boot,
63 <citerefentry><refentrytitle>systemd-binfmt.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
64 reads configuration files from the above directories to register
65 in the kernel additional binary formats for executables.</para>
66 </refsect1>
67
68 <refsect1>
69 <title>Configuration Format</title>
70
71 <para>Each file contains a list of binfmt_misc kernel binary
72 format rules. Consult <ulink
73 url="https://www.kernel.org/doc/Documentation/binfmt_misc.txt">binfmt_misc.txt</ulink>
74 for more information on registration of additional binary formats
75 and how to write rules.</para>
76
77 <para>Empty lines and lines beginning with ; and # are ignored.
78 Note that this means you may not use ; and # as delimiter in
79 binary format rules.</para>
80 </refsect1>
81
82 <xi:include href="standard-conf.xml" xpointer="confd" />
83
84 <refsect1>
85 <title>Example</title>
86 <example>
87 <title>/etc/binfmt.d/wine.conf example:</title>
88
89 <programlisting># Start WINE on Windows executables
151b190e 90:DOSWin:M::MZ::/usr/bin/wine:</programlisting>
798d3a52
ZJS
91 </example>
92 </refsect1>
93
94 <refsect1>
95 <title>See Also</title>
96 <para>
97 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
98 <citerefentry><refentrytitle>systemd-binfmt.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
99 <citerefentry><refentrytitle>systemd-delta</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
100 <citerefentry project='die-net'><refentrytitle>wine</refentrytitle><manvolnum>8</manvolnum></citerefentry>
101 </para>
102 </refsect1>
151b190e
LP
103
104</refentry>