Re:Build An Opensource Dropbox Clone
by huhtenberg on Thursday September 02, 2010 @01:09PM
(#1656839)
> This sequence of events is actually recognized in the Windows filesystem code.. and turned into a file-replace operation
Woah. I have quite a bit of experience digging through the crap in Windows kernel, but this seems to top all of that. Do you happen to have any references? MSDN, some forum threads, anything? Frankly I just find it hard to believe.
This is documented now, at least for creation times, short names, and file IDs. Apparently the filesystem can choose what to "tunnel" across the delete+rename.
http://support.microsoft.com/kb/172190
http://www.osronline.com/article.cfm?id=22
History: http://blogs.msdn.com/b/oldnewthing/archive/2005/07/15/43926...
Re:Build An Opensource Dropbox Clone
by huhtenberg on Friday September 03, 2010 @01:18PM
(#1660295)
Reading... thanks.
Actually the whole question of what to do with "advanced" filesystem semantics (like extended attributes) is pretty hard, especially if you're trying to sync across platforms where those semantics differ. You could just ignore them, but then if an app actually uses them (and why else would they exist?) then the file won't round-trip through the sync platform.