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