Open avogelba opened 10 years ago
Original comment by Douglas Santos (Bitbucket: douglascaetano, GitHub: douglascaetano):
@voltagex I see. But still, I hope this will be solved. I ran across this issue recently on my Win 8. Thanks for the answer.
Original comment by Douglas Santos (Bitbucket: douglascaetano, GitHub: douglascaetano):
Isn't this issue related to issue #68? From what I understand, what WinDirStat must do is simply to read "Size on Disk" property to know the size such file is occupying on disk. Why need WinDirStat to know if the file has anything to do with OneDrive (formerly SkyDrive)?
Original comment by Luc Maes (Bitbucket: lucPmaes, GitHub: lucPmaes):
What's the outlook on this topic, as with Onedrive being integral part of windows 8.1 it makes WinDirStat a little cumbersome to use if you can't differentiate what's really on the disk and what is only "virtually" there (as I guess that the number one reason for using windirstat is to understand the local disk drive usage.
Thanks for your feedback Luc
Original comment by Oliver (Bitbucket: assarbad, GitHub: assarbad):
Updated the version of looklink (binaries are code-signed):
$ looklink64.exe --verbose --nologo --noerror filename.jpg
'\\?\C:\Users\Oliver\SkyDrive\filename.jpg' is a Microsoft placeholder file (virt == 0)
File Index: 1125899906844550 (0004000000000786)
Tag : 80000015
GUID : {00000000-0000-0000-0000-000000000000}
Original comment by ClockworkPirate (Bitbucket: ClockworkPirate, GitHub: Unknown):
As I understand it, the placeholders (and actual files when something is marked as "available offline") are actually stored in the SkyDrive folder, wherever you put it. Your file on the desktop is completely unrelated to the copy that's now on your SkyDrive.
Original comment by Oliver (Bitbucket: assarbad, GitHub: assarbad):
@voltagex can you tell by any chance where such a placeholder file is stored? Because it appears they're not getting stored in the location from which you add them. Basically what I did was put an image onto the desktop and then add that to SkyDrive. Once successful, I made the file online-only. But now what ... the file on the desktop hasn't changed in the least, it appears.
It's like the SkyDrive has some special storage location. Checking myself now, but it would be good if you could help out.
Original comment by Oliver (Bitbucket: assarbad, GitHub: assarbad):
Original comment by Oliver (Bitbucket: assarbad, GitHub: assarbad):
Adam, yes, they sure must have. Also, there must be a filter driver or driver is some kind that implements the particular reparse tag. But I am still investigating.
The only question is whether there's a way to make a file non-local on-demand instead of having to use two machines and doing things asynchronously on them.
Original comment by Adam Baxter (Bitbucket: voltagex, GitHub: voltagex):
The WinRT bit is only part of it. They've implemented a "service", c:\windows\system32\skydrive.exe, and then explorer.exe must have support for these files as Windows is able to make a request to SkyDrive when I double click a file that is not yet local.
Original comment by Oliver (Bitbucket: assarbad, GitHub: assarbad):
Okay, so SkyDrive
I just created a Microsoft account for testing purposes and will try to investigate the matter a bit.
Original comment by Oliver (Bitbucket: assarbad, GitHub: assarbad):
Adam, thanks a bunch. IO_REPARSE_TAG_FILE_PLACEHOLDER
is already the piece of missing information I need. They are therefore related to symlinked files, just another type of reparse point. I am going to have a look to see whether my assumptions are right, but I guess that my very own looklink can be extended to support that.
Original comment by Adam Baxter (Bitbucket: voltagex, GitHub: voltagex):
The official name of this is 'smart files', known in the preview version as 'placeholder files'. I am trying to track down the APIs that are used for this but they appear to all be oriented towards WinRT and C# (System.Storage namespace)
http://msdn.microsoft.com/en-us/library/windows/desktop/dn323738%28v=vs.85%29.aspx is the only reference I can find.
I'm not sure if 'size on disk' is the right way to approach this but it may be the most 'portable' (between Windows versions)
Original comment by ClockworkPirate (Bitbucket: ClockworkPirate, GitHub: Unknown):
This is a pretty big issue as I store more and more stuff on SkyDrive. On my 32GB Venue 8 Pro, SkyDrive is showing as bigger than the entire capacity of the drive!
Originally reported by: Oliver (Bitbucket: assarbad, GitHub: assarbad)
Thanks to Guido who pointed out to me via email: