public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: binfmt_misc on 2.4.3-ac14
@ 2001-04-26 22:16 Wayne.Brown
  2001-04-26 23:13 ` DMA support in cs5530 IDE driver? Michael Shiloh
  2001-04-27 19:12 ` binfmt_misc on 2.4.3-ac14 Thomas Dodd
  0 siblings, 2 replies; 6+ messages in thread
From: Wayne.Brown @ 2001-04-26 22:16 UTC (permalink / raw)
  To: Marek Pętlicki; +Cc: linux-kernel



<marpet@buy.pl> wrote:

>thank you very much :-)

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

You're welcome.

It's been that way in the -ac kernels for a while now, but Linus hasn't put it
into his kernels yet.  Perhaps he's waiting until work begins on 2.5, rather
than break an existing interface in 2.4.  Anyway, it's entirely up to Linus, so
I'm just guessing here. :-)

Wayne



^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: binfmt_misc on 2.4.3-ac14
@ 2001-04-26 21:40 Wayne.Brown
  2001-04-26 22:04 ` Marek Pętlicki
  0 siblings, 1 reply; 6+ messages in thread
From: Wayne.Brown @ 2001-04-26 21:40 UTC (permalink / raw)
  To: Marek Pętlicki; +Cc: linux-kernel

[-- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* binfmt_misc on 2.4.3-ac14
@ 2001-04-26 21:04 Marek Pętlicki
  0 siblings, 0 replies; 6+ messages in thread
From: Marek Pętlicki @ 2001-04-26 21:04 UTC (permalink / raw)
  To: linux-kernel

Hi!

Has anybody used binfmt_misc on 2.4.3-ac14? It fails for me:

echo ':py:E::py::/opt/bin/python:' > /proc/sys/fs/binfmt_misc/register
bash: /proc/sys/fs/binfmt_misc/register: No such file or directory

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

2.4.3 kernel built with exactly the same settings works flawlessly.

Btw: it's RH 7.0, but I've compiled on kgcc (announcing itself as
egcs-2.91.66)

Thanks and best regards

-- 
Marek Pętlicki <marpet@buy.pl>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-04-27 19:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-26 22:16 binfmt_misc on 2.4.3-ac14 Wayne.Brown
2001-04-26 23:13 ` DMA support in cs5530 IDE driver? Michael Shiloh
2001-04-27 19:12 ` binfmt_misc on 2.4.3-ac14 Thomas Dodd
  -- strict thread matches above, loose matches on Subject: below --
2001-04-26 21:40 Wayne.Brown
2001-04-26 22:04 ` Marek Pętlicki
2001-04-26 21:04 Marek Pętlicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox