NFS
sudo apt install -y nfs-common
sudo mount.nfs ip:port /mnt
DAV – 不推荐
sudo apt install -y davfs2
sudo mount.davfs -o noexec http://ip:port /mnt
更多:
https://sleeplessbeastie.eu/2017/09/04/how-to-mount-webdav-share/embed/#?secret=i25ATGJKQR
SMB – 不推荐
sudo mount.cifs //ip /mnt -o username=user
更多:
https://zhuanlan.zhihu.com/p/26763026
附:群晖启用 NFS
- 控制面板 > 文件服务 > NFS > 「启动 NFS 服务」打勾
- 控制面板 > 共享文件夹 > 选择一个共享文件夹 > 编辑 > NFS 权限 > 创建/编辑
- 主机名:
*
192.168.0.0/24
- Squash:映射 root 为 admin
- 安全性:sys
- 启动异步
- 允许来自非特权端口的连接
- 允许用户访问已装载的子文件夹
- 主机名: