|
binfmt_misc is a capability of the Linux kernel which allows arbitrary executable file formats to be recognized and passed to certain user space applications, such as emulators and virtual machines. The executable formats are registered through a special purpose file system interface (similar to /proc).
RegistrationThe register file contains lines which define executable types to be handled. Each line is of the form: :name:type:offset:magic:mask:interpreter:
When an executable file format is registered, a file is created in the /proc/sys/fs/binfmt_misc directory. This file can be read later to get information about the file format. Common usagebinfmt_misc allows Java programs to be passed directly to the Java virtual machine. Another common usage is to execute PE executables (compiled for MS-DOS or Microsoft Windows) through Wine. For example, the following line will run DOS and Windows EXE files (identified by the "MZ" type code) using Wine: :DOSWin:M::MZ::/usr/bin/wine: See alsoReferences
External links |
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net