CentOS挂载exFAT文件系统

下载软件

http://oss.20150509.cn/exfat-utils-1.0.1-2.el6.src.rpm

http://oss.20150509.cn/fuse-exfat-1.0.1-2.el6.src.rpm

编译安装

1
2
3
4
5
6
7
8
9
10
> yum install scons gcc  # 编译安装需要系统有这两个软件的支持
> yum install fuse-devel # fuse模块,编译需要fuse-devel包支持
> rpm -ivh fuse-exfat-1.0.1-2.el6.src.rpm exfat-utils-1.0.1-2.el6.src.rpm>
>
> cd ~/rpmbuild/SPECS
> rpmbuild -ba fuse-exfat.spec
> rpmbuild -ba exfat-utils.spec
>
> cd ~/rpmbuild/RPMS/x86_64
> rpm -ivh fuse-exfat-1.0.1-2.el6.x86_64.rpm exfat-utils-1.0.1-2.el6.x86_64.rpm

挂载

1
2
3
> mount.exfat /dev/sdx /mnt
> # or
> mount -t exfat /dev/sdx /mnt

如果指定-t找不到此类型的话执行:ln -s /usr/sbin/mount.exfat /sbin/mount.exfat