This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > System > binfmt-support (2.2.1)

binfmt-support

The binfmt_misc kernel module, contained in versions 2.1.43 and later of the
Linux kernel, allows system administrators to register interpreters for
various binary formats based on a magic number or their file extension, and
cause the appropriate interpreter to be invoked whenever a matching file is
executed. Think of it as a more flexible version of the #! executable
interpreter mechanism.

binfmt-support provides an update-binfmts script with which package
maintainers can register interpreters to be used with this module without
having to worry about writing their own init.d scripts, and which sysadmins
can use for a slightly higher-level interface to this module.

You will want to add an fstab entry for binfmt_misc:

none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0

You will also want to make sure the binfmt_misc kernel module is loaded at
boot by adding '/sbin/modprobe binfmt_misc' to /etc/rc.d/rc.modules.local.

To have binfmt-support start and stop with your host,
add to /etc/rc.d/rc.local:

if [ -x /etc/rc.d/rc.binfmt-support ]; then
/etc/rc.d/rc.binfmt-support start
fi

and to /etc/rc.d/rc.local_shutdown (creating it if needed):

if [ -x /etc/rc.d/rc.binfmt-support ]; then
/etc/rc.d/rc.binfmt-support stop
fi

This requires: man-db

Maintained by: Andrew Clemons
Keywords: binfmt-support,binfmt_misc,update-binfmts
ChangeLog: binfmt-support

Homepage:
http://binfmt-support.nongnu.org/

Source Downloads:
binfmt-support_2.2.1.orig.tar.gz (c62b74a8862575f321f8c1ef3e4b8a2e)

Download SlackBuild:
binfmt-support.tar.gz
binfmt-support.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds