[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-bugs] [sr #106584] junctions need to be properly processed
From: |
Andrew Ferguson |
Subject: |
[Rdiff-backup-bugs] [sr #106584] junctions need to be properly processed for useful backups |
Date: |
Mon, 22 Dec 2008 14:58:13 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 |
Follow-up Comment #1, sr #106584 (project rdiff-backup):
Examples from Vista:
c:Documents and Settings is a hidden junction to C:Users
In a user's home folder, there are many hidden junctions, such as:
"c:Users*My Documents" -> "c:Users*Documents"
and many others for roaming profiles.
Junction tool from Sysinternals:
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
This KB article explains that NTFS junction points are *different* from DFS
junction points. (Argh!) http://support.microsoft.com/?kbid=205524
According to: http://msdn.microsoft.com/en-us/library/bb968829(VS.85).aspx,
"It is important that backup applications do not traverse these junction
points". We cannot rely on the names of junction points since they are
localized in the various versions of Windows.
To determine a junction point:
import win32file, winnt
win32file.GetFileAttributes(file) & winnt.FILE_ATTRIBUTE_REPARSE_POINT
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/support/?106584>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/