Hacker News 中文摘要

RSS订阅

使用rclone和systemd在Linux上挂载Proton Drive -- Mount Proton Drive on Linux using rclone and systemd

文章摘要

该GitHub项目是dadtronics开发的protondrive-linux,一个用于Linux系统的存储驱动项目。页面主要包含GitHub导航菜单和功能链接,如Copilot、Actions、Codespaces等开发工具,以及项目文档和社区讨论入口。

文章总结

GitHub 项目:protondrive-linux - 在 Linux 上挂载 Proton Drive 的自动化方案

项目地址:https://github.com/dadtronics/protondrive-linux

核心功能

该项目通过 rclone 和 systemd 实现 Proton Drive 在 Linux 系统的自动化挂载,主要特点包括: - 通过 systemd 用户服务实现登录时自动挂载 - 使用 rclone 的写入缓存模式(--vfs-cache-mode writes)确保兼容性 - 提供后台服务日志记录功能 - 支持 FUSE 的 --allow-other 挂载选项

快速使用指南

  1. 安装依赖

    • 必需组件:fuse3 和 rclone(v1.64.0+)
    • 提供预编译二进制文件安装方案
  2. 配置 Proton Drive 远程连接

    • 通过 rclone config 命令交互式配置
    • 需通过浏览器完成认证流程
  3. 运行安装脚本

    • 自动创建挂载目录 (~/ProtonDrive)
    • 配置 systemd 用户服务
    • 设置 fuse.conf 权限
    • 将用户加入 fuse 组
  4. 重新登录生效

    • 权限变更需重新登录系统

技术细节

  • 挂载位置:~/ProtonDrive
  • 日志文件:~/.cache/rclone/rclone-proton.log
  • 系统服务:~/.config/systemd/user/rclone-proton.mount.service

卸载方法

  1. 禁用 systemd 服务
  2. 删除服务配置文件
  3. (可选)移除挂载目录

测试环境

主要在 Arch Linux 验证,但适配大多数 Linux 发行版(需微调)

参考资源

  • rclone 官方文档
  • systemd 用户服务指南

项目状态

  • ★ 53 个星标
  • ⎘ 1 个复刻
  • 👁️ 1 个关注者
  • 最后更新:2025年8月7日(初始提交)

(注:原文中大量 GitHub 导航菜单、页脚条款等非核心内容已省略,保留技术实现关键信息)

评论总结

总结评论内容:

  1. 正面使用体验:
  • 用户表示已购买服务包,认为这个功能很实用:"Neat. I did just buy one of their packages so this will be useful"(评论1)
  1. 技术实现问题:
  • 指出Proton Drive的rclone支持仍处于测试阶段,缺乏官方API文档:"Support for proton drive on rclone is still on beta...doesn't provide documented official APIs"(评论2)
  • API兼容性问题:"their changing API spec often breaks the compatibility"(评论4)
  1. 服务限制与锁定策略:
  • 提到VPN出口常被限速,且封锁云服务商出口:"the drive API endpoints began to block their own VPN egress quite often"(评论4)
  • 批评厂商锁定模式:"the dark patterns for lock-in I can do without"(评论4)
  1. 替代方案讨论:
  • 推荐Hetzner存储方案:"Hetzner Storage boxes...a drop-in replacement, at ~$40 for 20TB"(评论4)
  • 建议使用家庭NAS方案:"connect to a 2-bay NAS...Fast, private, secure, practically unlimited storage"(评论6)
  • 考虑其他云服务:"Should I just use Filen instead?"(评论5)
  1. 质疑与批评:
  • 质疑是否有更好的加密技术方案:"better technological solutions for encrypting block data"(评论3)
  • 对Linux支持不足表示不满:"non-existing official support for Linux"(评论5)
  • 质疑项目真实性:"The project appears to be AI-generated"(评论7)