[Mono-list] Registering the MonoRuntime with Kernel

Chris Humphries chris@burst.net
Tue, 14 Sep 2004 08:37:47 -0400


This is not a Mono issue, it is an ignorance of the Linux kernel
issue, no offense. It has existed in the Linux kernel for a long 
time, by the way :)

Please consult binfmt_misc.txt in the Documentation directory for
the Linux kernel source. 

Some Linux Distros try to include a kernel that can do pretty much
everything from the get-go, as it is difficult to know what to expect.
Having binfmt_misc is a low price if not used, but very welcomed to
be there feature of the kernel, and most distros usually include it
by default.

Here is my setup on this debian unstable machine here at work:
--snip--
chris@chris:/usr/src/kernel-source-2.6.7/Documentation$ 
ls /proc/sys/fs/binfmt_misc/
cli  python2.3  register  status
chris@chris:/usr/src/kernel-source-2.6.7/Documentation$ 
cat /proc/sys/fs/binfmt_misc/cli
enabled
interpreter /usr/share/binfmt-support/run-detectors
offset 0
magic 4d5a
chris@chris:/usr/src/kernel-source-2.6.7/Documentation$
--snip--

Hope that helped you better understand how it magically happens ;)

Regards,
Chris Humphries

On Tuesday 14 September 2004 05:15 am, Gaurav Vaish wrote:
> > Some distributions already support this. Gentoo is an example.
>
>   Do you mean... Mono on Gentoo is registered automatically?
>   Where can  find one such distribution of Mono?
>
>   If I misread you, what's the correct implication of your words?
>
>
>
> Happy Hacking,
> Gaurav Vaish
> http://www.mastergaurav.org
> -------------------------------------
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list