[ python-Feature Requests-1578269 ] Add os.link() and os.symlink() support for Windows

SourceForge.net noreply at sourceforge.net
Fri Mar 16 07:50:05 CET 2007


Feature Requests item #1578269, was opened at 2006-10-16 08:21
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1578269&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: M.-A. Lemburg (lemburg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add os.link() and os.symlink() support for Windows

Initial Comment:
NTFS version 5.0 and up has all the needed APIs for
creating hard links and symlinks (junctions), so it
should be possible to add support for both hard links
and symlinks to the posixmodule.

Here are a few references:

http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html
(see list of links at the end of the page)

http://www.codeproject.com/w2k/junctionpoints.asp
(junction points only, but includes analysis and source
code)

Note: NTFS 5.0 is supported in Win 2k, XP, 2003 and later.


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2007-03-15 23:50

Message:
Logged In: YES 
user_id=33168
Originator: NO

Note a similar feature request which also contains a possible patch:
478407

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-17 08:47

Message:
Logged In: YES 
user_id=21627

We shouldn't expose junctions as symlinks. Instead, Vista
will get real symlinks, so we should use that:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createsymboliclink.asp


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1578269&group_id=5470


More information about the Python-bugs-list mailing list