[Mono-devel-list] Re: [Gtk-sharp-list] kernel support.

Carlos Perelló Marín carlos@pemas.net
18 Jun 2003 19:53:47 +0200

Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable

El mi=E9, 18-06-2003 a las 11:29, Dag Wieers escribi=F3:
> On 18 Jun 2003, Carlos [ISO-8859-1] Perell=F3 Mar=EDn wrote:
> > El mar, 17-06-2003 a las 23:46, Dag Wieers escribi=F3:
> > > Ok, now try to convince Red Hat, SuSE, TurboLinux, Mandrake, Lindows =
> > > fix their packages and release updates to their wine package now.=20
> > >=20
> > > And I'm sure you can overwrite what other packages do, but that's not=
> > > real clean solution and you may not have control what an upgrade will=
> > >=20
> >=20
> > I think that the solution does not change wine files, as you can read
> > with the attached file, it's only a modification inside binfmt-support
> I didn't say it changes wine files.
> Ok. Red Hat uses sysv files currently to make sure wine is started when a=
> Windows binary is run. How would you add your wrapper to binfmt_misc ? As=
> a sysv-script ? Would your script undo what the wine-package does ? Make=20
> sure it does work after an upgrade of a wine package ? If you have=20
> multiple entries, it's undetermined what exactly happens afaik (I've seen=
> strange things here, while testing)

One note, this script/program is not mine.

I don't know how RedHat solve the "problem" I was just pointing the best
solution (for me). Perhaps you can just ask the RedHat's maintainer if
he/she will accept a patch before supposing that it will not work ever
with RedHat/Mandrake, etc...

> > > "It works" doesn't necessarily make it the best solution. A shell wra=
> > > works too.
> >=20
> > It works for all .net executables and the user does not need to know
> > that she needs a wrapper to execute a mono program.
> That's not why I said that. The user doesn't know it's starting a=20
> shell-wrapper either, so it's transparant to the user and works on _all_=20
> systems, not only those that have shipped the binary wrapper.
> BTW I made that comment because "a shell wrapper works too" but is=20
> clearly not a prefered solution either. It would be a temporary solution=20
> that works everywhere.


> > I think it's the best option :-P
> I think a binfmt_exe kernel module would be the best option. Transparant,=
> can't be undone by binfmt_misc, and works just the same way as other file=
> are made to work that can't take advantage of binfmt_misc.

If you look at the kernel development you will see that binfmt was moved
from a concrete binary submodules to a general support so user-space
applications could plug any support without the need of kernel

> Of course, it hasn't been written yet.

I doubt it will be ever written as a kernel module and if someone does
that, I doubt that it enters inside the official Linux Kernel

Btw, I don't know if *BSD or MacOS have something like binfmt, so
perhaps the "wrapper" you are talking is a better global solution...=20


> --   dag wieers,  dag@wieers.com,  http://dag.wieers.com/   --
> [Any errors in spelling, tact or fact are transmission errors]
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
Carlos Perell=F3 Mar=EDn
Debian GNU/Linux Sid (PowerPC)
Linux Registered User #121232
mailto:carlos@pemas.net || mailto:carlos@gnome.org
Valencia - Spain

Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada

Version: GnuPG v1.2.2 (GNU/Linux)