macos 的 onedrive 不支持保存在外部存储了

2022-02-22 08:31:05 +08:00
 fl2d

我的 onedrive 里存着 1T 以上的东西, 必须存在外部 ssd 里啊。

网上搜了一下,很多人遇到了同样的问题,

微软把锅甩给了苹果,说是苹果的云存储 api 就是这个机制,

微软+苹果 的组合,从能从各种角度恶心一下用户。

1802 次点击
所在节点    问与答
11 条回复
dingwen07
2022-02-22 08:38:31 +08:00
用了几周下来,感觉除了能控制权限之外都是坏处,操作速度是真的慢
如果你这些数据不是很常用的话,把它释放掉应该就可以了吧
oscargong
2022-02-22 08:45:29 +08:00
macOS 下个版本就要 deprecated 旧的 KEXT ,除了 OenDrive ,Dropbox, Box 等也都要迁移到这个新的 API [1]。

还是有好处的,之前 Dropbox 的同步就是用 KEXT 实现的,会 hook 全盘读写,导致开着 Dropbox 时候,npm install 这种大量小文件读写的性能会显著降低。

[1] File Provider - https://developer.apple.com/documentation/fileprovider
ynyounuo
2022-02-22 08:54:56 +08:00
既然搜了就知道原因确实是 macOS 12.3 后的 API 变更导致的,没必要给微软推锅
ferock
2022-02-22 09:02:17 +08:00
ln 不能解决吗?
xinbaqiu
2022-02-22 09:25:18 +08:00
现在在本地也找不到保管箱了,只能线上打开
blueset
2022-02-22 09:34:55 +08:00
solidground
2022-02-22 10:05:11 +08:00
@dingwen07 说用 final cut 的素材保存在 onedrive 里,释放空间后,再次保存在本地,是否会影响 fcp 的编辑。
morisakitaku
2022-02-22 10:07:41 +08:00
..希望可以解決
agagega
2022-02-22 11:34:33 +08:00
Can OneDrive be stored on an external drive? How does pinning a file work when I use an external drive? Are there multiple copies of my data?

> I've seen several threads on this topic but let me clarify with an emphatic yes: external drives are fully supported without any difference in the end-user experience.
>
> That said, external drive support as it exists today is implemented differently than it was in the past because of how File Provider works. Very few users are running this configuration, but for them, it's an important scenario because often their content won't fit on the home drive. File Provider doesn't support creating the sync root on any drive except for the home drive. So, we had to find a way to support external drives within these constraints.
>
> When you choose a path to sync your OneDrive, we use that path to derive where we put your OneDrive cache path. If that path is on an external drive, we'll put the cache path there. We wanted to honor this preference because the cache path is where your pinned content is stored, as I'll explain below.
>
> When your cache path is placed on an external drive, OneDrive tries to minimize the number of copies of your data it makes, and in most cases, only one copy will exist, usually in the sync root. If your home drive runs into disk pressure, the operating system will evict (dataless) files from the sync root, but they can always be obtained again from the cloud if needed. In some cases a file might exist in both places for a short time, but over time we will ship fixes that will optimize this further.
>
> Pinned files on an external drive have behavior quirks that are worth understanding. If you pin a file, it will download to the cache path only, and will show both the checkbox and "not downloaded" state icons. This is because the file is dataless in the sync root but exists as a full file in the cache path. However, if you pin a file and also double-click it to open it, we will bring it into your sync root, so there are two copies, one in each location. Note that files brought into your sync root in this manner can still be evicted by macOS when it encounters disk pressure, but when this happens, only the file in the sync root is evicted. We still keep the data in your cache path, so you can always get to the file's content, even if you are offline.

看起来是可以的,不过我还没试。
fl2d
2022-02-22 12:41:03 +08:00
@agagega
相当于用户操作某个文件时,必须把这个文件从移动硬盘的缓存文件夹拷到电脑硬盘,然后再操作。
这个逻辑太拧巴了。
xingyuc
2022-02-22 13:55:48 +08:00
@ynyounuo 而且众所周知微软是其他平台最佳开发者

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/835538

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX