[2.1.57] binfmt_misc bug ?

B. James Phillippe (bryan@Terran.ORG)
Mon, 6 Oct 1997 20:21:17 -0700 (PDT)


Hello,

Using the binfmt_misc module, it appears to do odd things if you
define multiple format handlers with the same name. For install, run
something like:

echo ':foo:M::binfoo::/usr/bin/foowrapper:' > register
echo ':foo:E::foo::/usr/bin/foowrapper:' > register

It creates two files called "foo", with same inode (makes sense) under
/proc/sys/fs/binfmt_misc. This really confuses the UNIX shells. :)

What is the desired behavior? Subsequent entries overrule prior ones?
Name mangling (foo2, etc)? Or do we really want two there..

thanks,
-bp

--
B. James Phillippe <bryan@Terran.ORG>
UNIX, Linux, networks, programming, etc.
NIC:BJP4 # http://w3.terran.org/~bryan