Web Analytics

protondrive-linux

⭐ 182 stars Simplified Chinese by dadtronics

使用 rclone 和 systemd 在 Linux 上挂载 Proton Drive

本指南自动化了在 Linux 系统上使用 rclonesystemd 挂载 Proton Drive 的过程。

已在 Arch Linux 上测试,但在大多数 Linux 发行版上只需稍作调整即可使用。


🔧 功能

---

🚀 快速开始

1. ✅ 安装依赖

#### 安装 fuse3(挂载所需):

sudo pacman -S fuse3

#### 安装 rclone(必须是 v1.64.0 或更新版本)

🔹 选项 1:使用预编译二进制文件(推荐)

curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
unzip rclone-current-linux-amd64.zip
cd rclone-*-linux-amd64
sudo cp rclone /usr/local/bin/
sudo chmod +x /usr/local/bin/rclone
验证:

rclone version

Must be v1.64.0 or higher


2. 🔐 Configure Proton Drive Remote

Run:

rclone config

Follow prompts:

---

3. 📜 运行设置脚本

运行提供的脚本:

chmod +x setup-proton-mount.sh
./setup-proton-mount.sh

脚本将执行:

---

4. 🔁 重启或注销/登录

如果脚本将您添加到了 fuse 组,您必须注销并重新登录以使更改生效。


🔍 验证挂载

检查 Proton Drive 是否已挂载:

ls ~/ProtonDrive
检查 systemd 服务:

systemctl --user status rclone-proton.mount.service


🔁 Remount

If unmounted the Proton Drive can be remounted by:

systemctl --user restart rclone-proton.mount.service

请注意,Proton Drive 会在每次登录时自动挂载。

🧼 卸载

要移除自动挂载设置:

systemctl --user disable --now rclone-proton.mount.service
rm ~/.config/systemd/user/rclone-proton.mount.service
(Optional) 如果不再需要挂载点,可以删除
~/ProtonDrive


📁 文件

---

📎 需求

---

🛟 故障排除

如果挂载无法正常工作:

journalctl --user -u rclone-proton.mount.service
要手动重启服务:

systemctl --user restart rclone-proton.mount.service


📚 参考资料

--- Tranlated By Open Ai Tx | Last indexed: 2026-06-06 ---