V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
Sponsored by
LinkedIn
2000 个不用坐班的远程好工作在召唤你 · 弹性上班不打卡,工作和生活都能拥有
2000 个不用坐班的全球远程工作,帮助 V2EX 的小伙伴开启全新的工作方式。
Promoted by LinkedIn
fl2d
V2EX  ›  问与答

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

  •  
  •   fl2d · 215 天前 · 1321 次点击
    这是一个创建于 215 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

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

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

    11 条回复    2022-02-22 13:55:48 +08:00
    dingwen07
        1
    dingwen07  
       215 天前 via iPhone
    用了几周下来,感觉除了能控制权限之外都是坏处,操作速度是真的慢
    如果你这些数据不是很常用的话,把它释放掉应该就可以了吧
    oscargong
        2
    oscargong  
       215 天前   ❤️ 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  
       215 天前 via iPhone   ❤️ 2
    既然搜了就知道原因确实是 macOS 12.3 后的 API 变更导致的,没必要给微软推锅
    ferock
        4
    ferock  
       215 天前 via iPhone
    ln 不能解决吗?
    xinbaqiu
        5
    xinbaqiu  
       215 天前
    现在在本地也找不到保管箱了,只能线上打开
    solidground
        7
    solidground  
       215 天前
    @dingwen07 说用 final cut 的素材保存在 onedrive 里,释放空间后,再次保存在本地,是否会影响 fcp 的编辑。
    morisakitaku
        8
    morisakitaku  
       215 天前 via iPhone
    ..希望可以解決
    agagega
        9
    agagega  
       215 天前
    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
       215 天前
    @agagega
    相当于用户操作某个文件时,必须把这个文件从移动硬盘的缓存文件夹拷到电脑硬盘,然后再操作。
    这个逻辑太拧巴了。
    xingyuc
        11
    xingyuc  
       215 天前
    @ynyounuo 而且众所周知微软是其他平台最佳开发者
    关于   ·   帮助文档   ·   API   ·   FAQ   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   2828 人在线   最高记录 5497   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 14:28 · PVG 22:28 · LAX 07:28 · JFK 10:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.