[Bug 12401] Support junction points, i.e. DeviceIoCtl(FSCTL_SET_REPARSE_POINT/FSCTL_GET_REPARSE_POINT)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 20 13:20:00 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=12401

--- Comment #24 from Austin English <austinenglish at gmail.com> 2012-06-20 13:20:00 CDT ---
(In reply to comment #21)
> (In reply to comment #20)
> > ...
> > Thanks!  I think the only thing that's not covered now is symlinks (Vista+
> > feature), but I figured that I should start with junction points first.
> 
> After testing with the .NET 2.0 installer, I realized something that I'd
> appreciate some feedback about: the way I've done this so far creates an
> absolute path link.  For example:
> /home/ehoover/.wine/dosdevices/c:/windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a
> links to:
> /home/ehoover/.wine/dosdevices/c:/windows/winsxs/x86_System.EnterpriseServices_b03f5f7f11d50a3a_2.0.0.0_x-ww_7d5f3790
> 
> It seems to me that this technique has the disadvantage that if users relocate
> their Wine directory that these links would break.  So, do you guys think I
> should replace "/home/ehoover/.wine/dosdevices/" with the appropriate number of
> up directory references (../../../../../ in this case).

Makes sense, the C:\ -> drive_c symlink does the same (and is the only symlink
by default that is internal to the wineprefix):
austin at aw25 ~/.wine $ find . -type l -exec ls -al {} \;
lrwxrwxrwx 1 austin austin 13 Jun 19 14:07 ./drive_c/users/austin/My Pictures
-> /home/austin/
lrwxrwxrwx 1 austin austin 20 Jun 19 14:07 ./drive_c/users/austin/Desktop ->
/home/austin/Desktop
lrwxrwxrwx 1 austin austin 12 Jun 19 14:07 ./drive_c/users/austin/My Documents
-> /home/austin
lrwxrwxrwx 1 austin austin 13 Jun 19 14:07 ./drive_c/users/austin/My Music ->
/home/austin/
lrwxrwxrwx 1 austin austin 13 Jun 19 14:07 ./drive_c/users/austin/My Videos ->
/home/austin/
lrwxrwxrwx 1 austin austin 10 Jun 19 14:07 ./dosdevices/c: -> ../drive_c
lrwxrwxrwx 1 austin austin 1 Jun 19 14:07 ./dosdevices/z: -> /
lrwxrwxrwx 1 austin austin 8 Jun 19 14:07 ./dosdevices/d:: -> /dev/sr0

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list