CentOS6.4 supports USB flash drives in exfat format

Source: Internet
Author: User
Tags rpmbuild
The CentOS series does not support large-capacity USB flash drives in exfat format by default. You can add the fuse-exfat module. Download the fuse-exfat support software, which is supported by the fuse module. the Project address is https://code.google.com/p/exfat/, and the previous value is :1.0.1. Currently, exfat supports CentOS series which do 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 support is supported through the fuse module, its project address is: https://code.google.com/p/exfat/, the current version is: 1.0.1.
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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.