public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Wayne.Brown@altec.com
To: "Marek Pętlicki" <marpet@buy.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: binfmt_misc on 2.4.3-ac14
Date: Thu, 26 Apr 2001 16:40:41 -0500	[thread overview]
Message-ID: <86256A3A.00771A06.00@smtpnotes.altec.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 9 bytes --]



Marek P

[-- Attachment #2: Type: text/plain, Size: 1047 bytes --]


ętlicki <marpet@buy.pl> wrote:

>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

             reply	other threads:[~2001-04-26 21:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-26 21:40 Wayne.Brown [this message]
2001-04-26 22:04 ` binfmt_misc on 2.4.3-ac14 Marek Pętlicki
  -- strict thread matches above, loose matches on Subject: below --
2001-04-26 22:16 Wayne.Brown
2001-04-27 19:12 ` Thomas Dodd
2001-04-26 21:04 Marek Pętlicki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86256A3A.00771A06.00@smtpnotes.altec.com \
    --to=wayne.brown@altec.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marpet@buy.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox