[filelight] [Bug 486549] filelight: doesn't correctly process OneDrive cloud files

Harald Sitter bugzilla_noreply at kde.org
Tue May 7 12:01:50 BST 2024


https://bugs.kde.org/show_bug.cgi?id=486549

Harald Sitter <sitter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sitter at kde.org

--- Comment #1 from Harald Sitter <sitter at kde.org> ---
It's curious that both the store version and the CI version have this problem.
bug #473024 seems very related to the problem at hand, but should be fixed in
the CI build.

Specifically
https://learn.microsoft.com/en-us/windows-hardware/drivers/ifs/placeholders
says placeholders are FILE_ATTRIBUTE_SPARSE_FILE which we explicitly handle
differently as per the bug I've mentioned, in CI builds. And we do so using a
function that is documented as "Retrieves the actual number of bytes of disk
storage used to store a specified file." which you would expect should return
1KB as per
https://learn.microsoft.com/en-us/windows/win32/cfapi/build-a-cloud-file-sync-engine#placeholder-files
("Sync engines can create placeholder files that consume only 1 KB of storage
for the filesystem header, and that automatically hydrate into full files under
normal use conditions.").

Needs some inspection what exactly goes on there with onedrive placeholders.
I'd like to avoid having to special case onedrive.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list