Re: Java in OS?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 6 May 1996 20:53:56 +0100 (BST)


> > You can add one to the front, you can also use something like the elksemu
> > module that spots elks binaries by magic number, rewrites them to
> > allegedly have #! and passes them to the shell interpreter.
>
> Why can't we just patch binfmt_script.c so, that it could be
> configured to recognice some magics and then fetch file to the
> magic-specific interpreter?

Have a look at elksemu. You'll find it very very similar to your idea