How to mount /proc/sys/fs/binfmt_misc ?

Wayne.Brown@altec.com
Fri, 16 Mar 2001 09:23:19 -0600


OK, I've been struggling with this (off and on) since Tuesday, and I give up.
Since going from 2.4.3-pre4 to 2.4.2-ac20 I have been unable to use binfmt_misc.
Thanks to a hint from Michael Meissner, I found a mention in the release notes
for 2.4.2-ac12 that binfmt_misc should be mounted separately. However, I still
have a problem.

The release notes specify this:

mount -t binfmt_misc none /proc/sys/fs/binfmt_misc

but this doesn't work because

mount: mount point /proc/sys/fs/binfmt_misc does not exist

And if I try to mkdir -p /proc/sys/fs/binfmt_misc with /proc mounted I get

mkdir: cannot create directory `/proc/sys/fs/binfmt_misc': No such file or
directory

which makes sense, I guess, because proc isn't a "real" filesystem. So how do I
get binfmt_misc mounted?

Wayne

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/