Re: Rsyncrypto on Windows Vista
Brought to you by:
thesun
From: Thomas C. <tho...@op...> - 2008-06-17 16:12:26
|
Le mardi 17 juin 2008 à 18:36 +0300, Shachar Shemesh a écrit : > Thomas Constans wrote: > > Hello, > > > > First of all, many thanks for this nice piece of software ! > > > > I am actually building a pygtk frontend to rsync + rsyncrypto. > > > Cool. Send it here when it's ready :-) I hope it will be ready soon. It is part of a global remote backup service i am setting up. you can get a "binary" test version here: https://backup.opendoor.fr/uploads/Main/install.exe I ll put the sources online as soon as i can. > > I was having some troubles on the newest (and crappiest) microsoft > > product: > > To support old applications, windows xp style directories (my documents, > > application data, and so forth) are implemented in Windows Vista using > > some kind of symlink, called "junction". > > > > And rsyncrypto actually choke on such file, giving a "input/output > > error". > > > Sadly, I have to admit that I do not have Vista around, and I have been > trying very hard to avoid it up until now. It seems I'll have to go get > me a copy :-( i am in the same case. i had to buy an upgrade just to be sure my software works on this platform. As a linux user, it is a real PITA to give money to MS. > > Amazing. So Windows Vista has "junction points" > (http://msdn.microsoft.com/en-us/library/bb968829(VS.85).aspx), but also > has symbolic links > (http://msdn.microsoft.com/en-us/library/aa365680(VS.85).aspx). And > guess what - they are not the same! Blah.... > > On Windows, rsyncrypto uses the GetFileAttributesEx function to figure > out what the type of the file is. The docs seem to suggest that junction > points will have FILE_ATTRIBUTE_REPARSE_POINT set. I'll see what can be > done with the code to make it work. As I don't have access to a Vista > machine, if you could verify that point, it would be much appreciated. A > tiny program to print (even hexa-decimal) the attributes of a junction > point and send the result here would be enough. > > It would be nice if rsyncrypto can handle (meaning ignore) this kind of > > file more graciously. > > > > > Can you try compiling the attached patch letting me know how it fares? unfortunately, i dont have a compilation plateform ready on my windows machine. Iam using the binary rsyncrypto version. you can either send me a binary patched version, or point me to some instructions to set up an appropriate build environnement. Regards -- Thomas Constans openDoor 06 23 37 87 85 09 71 73 91 75 |