[Wine] which wine directory to use

Martin Gregorie martin at gregorie.org
Mon Nov 29 05:24:48 CST 2010

On Sun, 2010-11-28 at 17:51 -0600, abaker wrote:
> should I then always use drive_c to copy any data files into?
No, you can use either because .wine/dosdevices/c:/Program Files/
and .wine/drive_c/Program Files/ are the same directory. To prove that
to yourself, start a terminal session and do this in it:

$ cd .wine
$ ls -l drive_c

and you'll see that Program Files is a directory. Now do this:

$ ls -l dosdevices

and you'll see this:

$ ls -l dosdevices/
total 0
lrwxrwxrwx. 1 gliding users 10 Aug 21 15:03 c: -> ../drive_c
lrwxrwxrwx. 1 gliding users  1 Aug 21 15:03 z: -> /

c: and z: are both pale blue because they are symbolic links. It also
shows that C: points to .wine/drive:c and z: points to / (the root of
the linux filing system. If you now run this:

$ ls -l dosdevices/c:/

you'll see exactly the same as running "ls -l drive_c" showed you.

If you're still unsure, go out and buy a copy of "Linux in a Nutshell"
and *read* what it has to say about the filing system. Keep it by your
computer because its a good reference book.



More information about the wine-users mailing list