On 2001.10.09 08:03 Vladimir G Ivanovic wrote:
> I seem to remember that there exists an RPM package that allows one to
> install executable interpreters so that one could chmod a+x a file so
> that the shell could execute the file with the appropriate
> interpreter,
> say Java or Tcl. What is the name of that package? 
> 
> My searching through my installed package and with Google have yielded
> an RPM package name.
> 
> Many thanks for the help.
 
You're thinking of the binfmt_misc kernel feature. I don't know if
anyone has made an rpm for it, but with one you can register a new
interpreter to the kernel:

echo ':ExecutableJAR:E::jar::/usr/local/bin/jarwrapper:' >
/proc/sys/fs/binfmt_misc/register

(in this case, jarwrapper is the java jar runner script from the
binfmt_misc documentation; install kernel-docs rpm to read about it)

Putting this line in your /etc/rc.d/rc.local should be enough.

groeten,
Kj

[EMAIL PROTECTED]



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to