[Webkit-unassigned] [Bug 280062] New: FileSystem::hardLink doesn't work on all filesystems and platforms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 20 07:04:42 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=280062

            Bug ID: 280062
           Summary: FileSystem::hardLink doesn't work on all filesystems
                    and platforms
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jani at igalia.com

FileSystem::hardLink uses std::filesystem::create_hard_link under the hood, but some file systems do not support hard links. For example, the FAT file system, which is commonly used on memory cards and flash drives, does not support them.

This issue arose during WPEView development on Android, where persistent cookies weren't working. The problem was traced back to NetworkCacheBlobStorage, which relies on hard links. The Android platform doesn't support hard links.

Hard links are also used in other places, such as CacheStorageManager and SQLiteIDBTransaction, but these components appear to fall back to file copying if creating a hard link fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240920/52b0ecf1/attachment.htm>


More information about the webkit-unassigned mailing list