V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
fl2d
V2EX  ›  问与答

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

  •  
  •   fl2d · 2022-02-22 08:31:05 +08:00 · 2091 次点击
    这是一个创建于 1006 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

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

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

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

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

    [1] File Provider - https://developer.apple.com/documentation/fileprovider
    ynyounuo
        3
    ynyounuo  
       2022-02-22 08:54:56 +08:00 via iPhone   ❤️ 2
    既然搜了就知道原因确实是 macOS 12.3 后的 API 变更导致的,没必要给微软推锅
    ferock
        4
    ferock  
       2022-02-22 09:02:17 +08:00 via iPhone
    ln 不能解决吗?
    xinbaqiu
        5
    xinbaqiu  
       2022-02-22 09:25:18 +08:00
    现在在本地也找不到保管箱了,只能线上打开
    solidground
        7
    solidground  
       2022-02-22 10:05:11 +08:00
    @dingwen07 说用 final cut 的素材保存在 onedrive 里,释放空间后,再次保存在本地,是否会影响 fcp 的编辑。
    morisakitaku
        8
    morisakitaku  
       2022-02-22 10:07:41 +08:00 via iPhone
    ..希望可以解決
    agagega
        9
    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
        10
    fl2d  
    OP
       2022-02-22 12:41:03 +08:00
    @agagega
    相当于用户操作某个文件时,必须把这个文件从移动硬盘的缓存文件夹拷到电脑硬盘,然后再操作。
    这个逻辑太拧巴了。
    xingyuc
        11
    xingyuc  
       2022-02-22 13:55:48 +08:00
    @ynyounuo 而且众所周知微软是其他平台最佳开发者
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2402 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:00 · PVG 00:00 · LAX 08:00 · JFK 11:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.