binfmt.d.xml revision 681eb9cf2b831293a4f3d4c48a748d2e4a25d69e
5789N/A<?xml version="1.0"?>
5789N/A<!--*-nxml-*-->
5789N/A<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
5789N/A<!ENTITY % entities SYSTEM "custom-entities.ent" >
5789N/A%entities;
5789N/A]>
5789N/A<!--
5789N/A This file is part of systemd.
5789N/A
5789N/A Copyright 2011 Lennart Poettering
5789N/A
5789N/A systemd is free software; you can redistribute it and/or modify it
5789N/A under the terms of the GNU Lesser General Public License as published by
5789N/A the Free Software Foundation; either version 2.1 of the License, or
5789N/A (at your option) any later version.
5789N/A
5789N/A systemd is distributed in the hope that it will be useful, but
5789N/A WITHOUT ANY WARRANTY; without even the implied warranty of
5789N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5789N/A Lesser General Public License for more details.
5789N/A
5789N/A You should have received a copy of the GNU Lesser General Public License
5789N/A along with systemd; If not, see <http://www.gnu.org/licenses/>.
5789N/A-->
5789N/A<refentry id="binfmt.d" conditional='ENABLE_BINFMT'
5789N/A xmlns:xi="http://www.w3.org/2001/XInclude">
5789N/A
5789N/A <refentryinfo>
5789N/A <title>binfmt.d</title>
5789N/A <productname>systemd</productname>
5789N/A
5789N/A <authorgroup>
5789N/A <author>
5789N/A <contrib>Developer</contrib>
5789N/A <firstname>Lennart</firstname>
5789N/A <surname>Poettering</surname>
5789N/A <email>lennart@poettering.net</email>
5789N/A </author>
5789N/A </authorgroup>
5789N/A </refentryinfo>
5789N/A
5789N/A <refmeta>
5789N/A <refentrytitle>binfmt.d</refentrytitle>
5789N/A <manvolnum>5</manvolnum>
5789N/A </refmeta>
5789N/A
5789N/A <refnamediv>
5789N/A <refname>binfmt.d</refname>
5789N/A <refpurpose>Configure additional binary formats for
5789N/A executables at boot</refpurpose>
5789N/A </refnamediv>
5789N/A
5789N/A <refsynopsisdiv>
5789N/A <para><filename>/etc/binfmt.d/*.conf</filename></para>
5789N/A <para><filename>/run/binfmt.d/*.conf</filename></para>
5789N/A <para><filename>/usr/lib/binfmt.d/*.conf</filename></para>
5789N/A </refsynopsisdiv>
5789N/A
5789N/A <refsect1>
5789N/A <title>Description</title>
5789N/A
5789N/A <para>At boot,
5789N/A <citerefentry><refentrytitle>systemd-binfmt.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
5789N/A reads configuration files from the above directories to register
5789N/A in the kernel additional binary formats for executables.</para>
5789N/A </refsect1>
5789N/A
5789N/A <refsect1>
5789N/A <title>Configuration Format</title>
5789N/A
5789N/A <para>Each file contains a list of binfmt_misc kernel binary
5789N/A format rules. Consult <ulink
5789N/A url="https://www.kernel.org/doc/Documentation/binfmt_misc.txt">binfmt_misc.txt</ulink>
5789N/A for more information on registration of additional binary formats
5789N/A and how to write rules.</para>
5789N/A
5789N/A <para>Empty lines and lines beginning with ; and # are ignored.
5789N/A Note that this means you may not use ; and # as delimiter in
5789N/A binary format rules.</para>
5789N/A </refsect1>
5789N/A
5789N/A <xi:include href="standard-conf.xml" xpointer="confd" />
5789N/A
5789N/A <refsect1>
5789N/A <title>Example</title>
5789N/A <example>
5789N/A <title>/etc/binfmt.d/wine.conf example:</title>
5789N/A
5789N/A <programlisting># Start WINE on Windows executables
5789N/A:DOSWin:M::MZ::/usr/bin/wine:</programlisting>
5789N/A </example>
5789N/A </refsect1>
5789N/A
5789N/A <refsect1>
5789N/A <title>See Also</title>
5789N/A <para>
5789N/A <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
5789N/A <citerefentry><refentrytitle>systemd-binfmt.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
5789N/A <citerefentry><refentrytitle>systemd-delta</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
5789N/A <citerefentry project='die-net'><refentrytitle>wine</refentrytitle><manvolnum>8</manvolnum></citerefentry>
5789N/A </para>
5789N/A </refsect1>
5789N/A
5789N/A</refentry>
5789N/A