using wine's binfmt_misc as interpreter

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

using wine's binfmt_misc as interpreter

#1 Post by mikeslr »

Hi All,

Caveat: I am not a guru. My method of exploration is "monkey see, monkey do" + trial & error.

While exploring guydog, which uses emelfm2 rather than Rox as default file manager, I ran into difficulty attempting to run xp portables under wine. I keep all my portables on /mnt/home, which is also where I install all Puppies, so that I can use the same xp portable “installation

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#2 Post by Karl Godt »

I have no idea about the whole thing , never used wine ;

but adding something to fstab does not mean , that it gets automatically mounted

AND before echoing something to a file inside that mountpoint .

You would need something like

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

before

echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register; } 2>/dev/null

in /etc/rc.d/rc.local

I do not know if it is important in which directory this shoukd happen :

/sys/fs includes aufs ext4 fuse
/proc/fs incl ext4 jbd2 nfsd reiserfs xfs
ATM on my side ,
and since puppy tends to mount things in /dev

i have
/dev/fs/binfmt_misc/register
/dev/fs/binfmt_misc/status
as files inside there .

Other filesystem mounted in /dev/fs are currently hugetlb security debug in my case , newer puppy kernels might have more features like cgroups enabled .

The file /proc/filesystems contains little info about fs and if none|nodev .

Post Reply