Messages in this thread |  | | From | Wayne.Brown@altec ... | Date | Thu, 26 Apr 2001 16:40:41 -0500 | Subject | Re: binfmt_misc on 2.4.3-ac14 |
| |
Marek P ętlicki <marpet@buy.pl> wrote:
>The directory /proc/sys/fs/binfmt_misc/ exists, but nothing in it.
Try this:
mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
In the recent -ac versions, binfmt_misc must be mounted separately. I have the following in my /etc/rc.d/rc.local so that it will work with both Linus' and Alan's kernels (the third variation was for an older -ac kernel that didn't create the binfmt_misc directory either; it's really not needed anymore but I left it in just in case):
# # Register entries in binfmt_misc # if [ -f /proc/sys/fs/binfmt_misc/register ] ; then echo ':DOSWin:M::MZ::/usr/local/bin/wine:' > /proc/sys/fs/binfmt_misc/register elif [ -d /proc/sys/fs/binfmt_misc ] ; then mount -t binfmt_misc none /proc/sys/fs/binfmt_misc echo ':DOSWin:M::MZ::/usr/local/bin/wine:' > /proc/sys/fs/binfmt_misc/register else mount -t binfmt_misc none /etc/binfmt_misc echo ':DOSWin:M::MZ::/usr/local/bin/wine:' > /etc/binfmt_misc/register fi
Wayne
|  |