LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How does WINE work in FEDORA? (https://www.linuxquestions.org/questions/linux-newbie-8/how-does-wine-work-in-fedora-768933/)

dazzyrock 11-13-2009 10:34 AM

How does WINE work in FEDORA?
 
hiii
Actualy i am using wine in my fedora11.It is providing me the win32 shell in linux platform including all the registry parameter also(can be edited by regedit).So my question is how does it work inside the linux kernel...???
thankz in advance

foodown 11-13-2009 10:40 AM

http://wiki.winehq.org/Debunking_Wine_Myths

http://answers.yahoo.com/question/in...4145956AAj6INq

David the H. 11-13-2009 10:45 AM

Your question doesn't make sense to me. What do you mean by "inside the linux kernel"? AFAIK, wine simply provides a translation layer that converts Windows API calls into Linux API calls, and makes those programs behave pretty much like regular Linux software.

The wine console and wine regedit are simply programs included with wine to manage the simulated Windows environment that it provides.

pixellany 11-13-2009 10:49 AM

Quote:

Originally Posted by David the H. (Post 3755791)
Your question doesn't make sense to me. What do you mean by "inside the linux kernel"? AFAIK, wine simply provides a translation layer that converts Windows API calls into Linux API calls, and makes those programs behave pretty much like regular Linux software.

The wine console and wine regedit are simply programs included with wine to manage the simulated Windows environment that it provides.

Correct---WINE has no direct interaction with the kernel (except thru the API)---and it certainly does not do anything "inside the kernel".

When running something using WINE, the kernel would never know it was Windows SW.

i92guboj 11-13-2009 01:51 PM

To the linux kernel, wine is just like any other program (X, kpaint, doom3, you name it), and anything running inside wine is just as native as a true linux application. Wine operates *completely* in user-land, as others have pointed above. It doesn't do a single instruction in kernel land, just like any other linux application.

For it to work inside the kernel there would need to be a wine.ko module or something similar, just like qemu has kqemu or virtualbox has also some modules. There's no need though, all wine does is to convert api calls from windows applications to linux native calls to the relevant component (linux itself, X, or whatever belongs on each case).

The regedit shipped within wine is not the windows regedit program. It's a clone created entirely using linux+the winelib foundations, and it's a true native linux application that just modifies the equivalent of the windows registry files, which lives in $HOME/.wine/, this registry is not a complete windows registry, wine doesn't need one to start with. It just includes some basic foundations so windows programs can find the minimum info they expect to run, plus of course the info that each program installs there when you install it using wine.

Your question doesn't make much sense so if this doesn't answer it, please, be more concrete and try to work the things better.


All times are GMT -5. The time now is 11:08 PM.