The CentOS series does not support large-capacity USB flash drives in exfat format by default.
You can add the fuse-exfat module. Sort the information on the Internet as follows:
1. Download the fuse-exfat support software:
Exfat is supported by the fuse module. The project address is https://code.google.com/p/exfat.
Currently, exfat supports all functions and supports reading and writing.
You can download the source code package and compile it using scons and gcc. You can also download the source code RPM in rpmfusion and install it by building the RPM. Here we use the RPM construction method (which is convenient for installation and uninstallation ).
: Http://download1.rpmfusion.org/free/el/updates/6/SRPMS/repoview/index.html
Download: fuse-exfat-1.0.1-1-el6.src.rpm and exfat-utils-1.0.1-1.el6.src.rpm
2. Compile and install:
Check the system before compiling. If scons and gcc are not in the system, install them using yum:
Sudo yum install scons gcc
This software is the fuse module, and fuse-devel package is required for compilation:
Sudo yum install fuse-devel
After the download, switch to the root user:
$ Sudo su-
Then install the source code RPM:
# Rpm-ivh fuse-exfat-1.0.1-1-el6.src.rpm exfat-utils-1.0.1-1.el6.src.rpm
The rpmbuild directory appears in the root directory:
# Cd ~ /Rpmbuild/SPECS
# Rpmbuild-ba fuse-exfat.spec
# Rpmbuild-ba exfat-utils.spec
After the build is complete, you can go ~ Find the generated RPM in/rpmbuild/RPMS (based on the system architecture, in the x86_64 or i386 directories, where the package with debuginfo in the name does not need to be installed ):
# Cd ~ /Rpmbuild/RPMS/x86_64
# Rpm-ivh fuse-exfat-1.0.1-1.el6.x86_64.rpm exfat-utils-1.0.1-1.el6.x86_64.rpm
This completes the installation.
3. Mount:
Run the following command to mount the exfat USB flash drive:
# Mount. exfat/dev/sdXn/mnt
X in sdXn represents the name of your USB flash drive device, and n represents the Partition Number, for example,/dev/sdb1.
In addition, for convenience, you can create a symbolic link between the commands installed in/usr/sbin and/sbin:
# Ln-s/usr/sbin/mount. exfat/sbin/mount. exfat
It is easy to directly use mount for installation:
# Mount-t exfat/dev/sdXn/mnt