dosdevices/c not present.. how is it created?

Roger Cruz roger_r_cruz at yahoo.com
Tue Dec 6 20:03:36 CST 2011


The file system is yaffs2 but I am able to create the softlink by hand.  Let me try stepping through that code now that you pointed me to the right place.  Thank you!!



________________________________
 From: Ben Peddell <klightspeed at netspace.net.au>
To: wine-devel at winehq.org 
Sent: Tuesday, December 6, 2011 8:46 PM
Subject: Re: dosdevices/c not present.. how is it created?
 
On 7/12/2011 11:30 AM, Roger Cruz wrote:
> I'm getting the following error when running Wine.
> 
> Using the debugger, I think I found where the problem is:
> 
> 2140            int fd = open( unix_name, O_RDONLY | O_DIRECTORY );
[snip]
> When I look in my $WINEPREFIX directory, I can see that the c: directory
> is not there
[snip]
> How does that c: directory get created and by whom?  I have deleted the
> $WINEPREFIX several times already to no avail.

dlls/ntdll/server.c:774
    /* create the drive symlinks */

    mkdir( "drive_c", 0777 );
    symlink( "../drive_c", "dosdevices/c:" );
    symlink( "/", "dosdevices/z:" );


What filesystem does $WINEPREFIX live on?

It would appear that symlink() failed on that filesystem.

-- 
Ben Peddell
IT Support Bowen, Collinsville and Proserpine Catholic schools
http://klightspeed.killerwolves.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20111206/720fe92b/attachment.html>


More information about the wine-devel mailing list