Skip to content

Instantly share code, notes, and snippets.

@goooooouwa
Last active March 14, 2024 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goooooouwa/0e6853dc14304f0ee4f9cadc9a92e1d5 to your computer and use it in GitHub Desktop.
Save goooooouwa/0e6853dc14304f0ee4f9cadc9a92e1d5 to your computer and use it in GitHub Desktop.
DSM 6.0 6.2.3 不安装exfat access套件支持exFAT读写
# 来源:https://blog.csdn.net/weixin_49393427/article/details/113805570?utm_source=pocket_saves
# 打开DSM的SSH管理
# SSH连接,并使用管理员账户登录
# 执行:
wget -P /tmp/ http://mirrors.kernel.org/ubuntu/pool/universe/f/fuse-exfat/exfat-fuse_1.2.3-1_amd64.deb
dpkg -x /tmp/exfat-fuse_1.2.3-1_amd64.deb /tmp/exfat-fuse/
cp /tmp/exfat-fuse/sbin/mount.exfat-fuse /usr/bin/
# 注意:所有命令如果提示权限不够用sudo执行
# 查看exFAT分区设备名:fdisk -l
sudo fdisk -l | grep exFAT
# /dev/sdq1 2048 976770112 976768065 465.8G 7 HPFS/NTFS/exFAT
# 在存储空间1新建共享文件夹usbexfat
# 挂载exFAT磁盘
sudo mount.exfat-fuse /dev/sdq1 /volume1/usbexfat -o rw,nonempty,uid=1024,gid=100
# FUSE exfat 1.2.3
# 使用cp命令执行需要的文件操作:
sudo cp -R /volume2/某文件 /volume1/usbexfat/
# 取消挂载
sudo umount /volume1/usbexfat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment