{"id":41460,"date":"2023-12-14T16:20:01","date_gmt":"2023-12-14T21:20:01","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=41460"},"modified":"2023-12-29T10:35:06","modified_gmt":"2023-12-29T15:35:06","slug":"icloud-drive-in-sonoma-fileprovider-and-eviction","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/12\/14\/icloud-drive-in-sonoma-fileprovider-and-eviction\/","title":{"rendered":"iCloud Drive in Sonoma: FileProvider and Eviction"},"content":{"rendered":"<p><a href=\"https:\/\/eclecticlight.co\/2023\/11\/21\/icloud-drive-in-sonoma-fileprovider-and-eviction\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2023\/11\/21\/icloud-drive-in-sonoma-fileprovider-and-eviction\/\"><p>Prior to Sonoma, one of the features in iCloud Drive that hasn&rsquo;t behaved as documented is <strong>Optimise Mac Storage<\/strong>. This has changed in Sonoma, as it now effectively switches between two different types of file provider: a <a href=\"https:\/\/developer.apple.com\/documentation\/fileprovider\/replicated_file_provider_extension\">replicated file provider<\/a>, which syncs between local and remote copies of <em>all<\/em> files put in the cloud, and a <a href=\"https:\/\/developer.apple.com\/documentation\/fileprovider\/nonreplicated_file_provider_extension\">nonreplicated file provider<\/a>, which hosts and manages files that can be stored locally or whose data may only exist in the cloud.<\/p><p>[&#8230;]<\/p><p>It&rsquo;s essential to remember that, in the new iCloud Drive, changing <strong>Optimise Mac Storage<\/strong> results in a major change in behaviour, and as far as FileProvider is concerned, it effectively switches between two different versions of iCloud Drive.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/11\/01\/macos-14-separate-icloud-drive-and-cloudkit-switches\/\">macOS 14: Separate iCloud Drive and CloudKit Switches<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/10\/27\/icloud-drive-switches-to-dataless-files\/\">iCloud Drive Switches to Dataless Files<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/10\/23\/sonoma-icloud-drive-and-time-machine\/\">Sonoma, iCloud Drive, and Time Machine<\/a><\/li>\n<\/ul>\n\n<p id=\"icloud-drive-in-sonoma-fileprovider-and-eviction-update-2023-12-29\">Update (2023-12-29): <a href=\"https:\/\/eclecticlight.co\/2023\/12\/24\/last-year-on-my-mac-1-icloud-drive-changes-gear\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2023\/12\/24\/last-year-on-my-mac-1-icloud-drive-changes-gear\/\">\n<p>None of this guarantees that iCloud Drive won&rsquo;t sulk when it should be syncing, and plenty have suffered traumatic conversions to this new FileProvider architecture. But experience so far is encouraging. Most importantly for us, it puts Apple&rsquo;s service on a par with other cloud services. If they&rsquo;re affected by problems in the FileProvider mechanism, then Apple has great incentive to fix them, as they&rsquo;ll most probably also affect its own service. And what could have been considered unfair advantages of iCloud Drive are removed, integrating all cloud services with similar benefits in macOS.<\/p>\n<p>In the longer term, it could open up some cloud services that haven&rsquo;t yet been fully realised on Macs, such as backup to the cloud, a feature conspicuously absent from iCloud even though it was provided in Apple&rsquo;s older services such as .Mac way back in July 2002.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Howard Oakley: Prior to Sonoma, one of the features in iCloud Drive that hasn&rsquo;t behaved as documented is Optimise Mac Storage. This has changed in Sonoma, as it now effectively switches between two different types of file provider: a replicated file provider, which syncs between local and remote copies of all files put in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-12-14T21:20:08Z","apple_news_api_id":"509a51b9-47d8-48f5-aebf-50a482f02eaf","apple_news_api_modified_at":"2023-12-29T15:35:08Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AUJpRuUfYSPWuv1CkgvAurw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[2164,913,30,2385],"class_list":["post-41460","post","type-post","status-publish","format-standard","hentry","category-technology","tag-file-provider-extensions","tag-icloud-drive","tag-mac","tag-macos-14-sonoma"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=41460"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41460\/revisions"}],"predecessor-version":[{"id":41598,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/41460\/revisions\/41598"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=41460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=41460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=41460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}