Skip to contentSkip to conversation

binfmt_misc on 2.4.3-ac14

DISCUSSION [email protected] 2 participants 2 messages Apr 26, 2001

lore
Share & tools
lore
#0 lore raw

Marek P

Quoted 1 line · ętlicki

The directory /proc/sys/fs/binfmt_misc/ exists, but nothing in it.

Try this:

mount -t binfmt_misc none /proc/sys/fs/binfmt_misc

In the recent -ac versions, binfmt_misc must be mounted separately. I have the following in my /etc/rc.d/rc.local so that it will work with both Linus' and Alan's kernels (the third variation was for an older -ac kernel that didn't create the binfmt_misc directory either; it's really not needed anymore but I left it in just in case):

#
# Register entries in binfmt_misc
#
if [ -f /proc/sys/fs/binfmt_misc/register ] ; then

        echo ':DOSWin:M::MZ::/usr/local/bin/wine:' >

/proc/sys/fs/binfmt_misc/register
elif [ -d /proc/sys/fs/binfmt_misc ] ; then
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
echo ':DOSWin:M::MZ::/usr/local/bin/wine:' >
/proc/sys/fs/binfmt_misc/register
else
mount -t binfmt_misc none /etc/binfmt_misc
echo ':DOSWin:M::MZ::/usr/local/bin/wine:' > /etc/binfmt_misc/register
fi

Wayne

#1 lore raw
Quoted 11 lines · On Thursday, April, 2001-04-26 at 23:42:08, [email protected] wrote:

Marek P

Quoted 1 line · ętlicki

The directory /proc/sys/fs/binfmt_misc/ exists, but nothing in it.

Try this:

mount -t binfmt_misc none /proc/sys/fs/binfmt_misc

thank you very much :-)

is it going to become the default in future kernel releases?

regards

Signature · 1 line
Marek Pętlicki <[email protected]>