X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fbinfmt.d.xml;h=7f31b76de959c4939d1c1e41710323308486c9f9;hp=d2a0d7932cdcaf462a15ed47915063b2d9e637c7;hb=e9dd9f9547350c7dc0473583b5c2228dc8f0ab76;hpb=151b190e79e64824552e01849352ca8f6ac7dedb diff --git a/man/binfmt.d.xml b/man/binfmt.d.xml index d2a0d7932..7f31b76de 100644 --- a/man/binfmt.d.xml +++ b/man/binfmt.d.xml @@ -4,22 +4,22 @@ - + binfmt.d @@ -42,28 +42,28 @@ binfmt.d - Configure additional binary formats at boot + Configure additional binary formats for + executables at boot /etc/binfmt.d/*.conf + /run/binfmt.d/*.conf + /usr/lib/binfmt.d/*.conf Description - systemd uses - /etc/binfmt.d/ to configure - additional binary formats to register during boot in - the kernel. Each configuration file is named in the - style of - /etc/binfmt.d/<program>.conf. - - + At boot, + systemd-binfmt.service8 + reads configuration files from the above directories + to register in the kernel additional binary + formats for executables. - Configuration Format + Configuration Format Each file contains a list of binfmt_misc kernel binary format rules. Consult - Configuration files are loaded in alphabetical - order. To ensure that a specific rule takes precedence - over another place it in a file with an alphabetically - later name. - + Each configuration file shall be named in the + style of program.conf. + Files in /etc/ override files + with the same name in /usr/lib/ + and /run/. Files in + /run/ override files with the + same name in /usr/lib/. Packages + should install their configuration files in + /usr/lib/, files in + /etc/ are reserved for the local + administrator, who may use this logic to override the + configuration files installed from vendor + packages. All files are sorted by their filename in + alphabetical order, regardless in which of the + directories they reside, to guarantee that a specific + configuration file takes precedence over another file + with an alphabetically later name. + + If the administrator wants to disable a + configuration file supplied by the vendor, the + recommended way is to place a symlink to + /dev/null in + /etc/binfmt.d/ bearing the + same filename. @@ -96,6 +115,8 @@ See Also systemd1, + systemd-binfmt.service8, + systemd-delta1, wine8