Enable CENTOS7 to support EXFAT2 format partitions

Source: Internet
Author: User
Tags windows support rpmbuild

Fat32linux,windows support, but cannot support single file, NTFS and EXFAT support larger than 4g, but frequent read and write to partition damage. So it's best to use the EXFAT2 partition, and Linux supports EXFAT2. But Linux doesn't support it.

can be supported by adding FUSE-EXFAT modules. According to the online data, sorted as follows: 1, download Fuse-exfat support software:

exFAT support is supported by the Fuse module, whose project address is: https://code.google.com/p/exfat/, and the current version is: 1.0.1.

Currently, EXFAT support is fully functional and supports reading and writing.

You can download the source code package and compile it yourself using scons and GCC, or you can download the source code rpm in Rpmfusion and install it by building RPM. This is the way to build rpm (this is convenient for loading and unloading).

Download Address: http://download1.rpmfusion.org/free/el/updates/6/SRPMS/repoview/index.html

Download separately: fuse-exfat-1.0.1-1-el6.src.rpm and exfat-utils-1.0.1-1.el6.src.rpm 2, compile and install:

Before compiling, check the system, and if scons and GCC are not in the system, install it through Yum:

$ sudo yum install scons (Rpmbuild need to rely on scons)

I install scons when prompted to yum the source did not, resulting in the installation is unsuccessful.

can download the RPM package installation, I began to download the 1.2 version although the installation was successful, but in the rpmbuild or prompted the lack of scons, and later downloaded scons-2.3.4-1.noarch.rpm installed successfully.

$ sudo yum install gcc


This software is the fuse module, the compilation needs Fuse-devel package support:

$ sudo yum install Fuse-devel

After downloading, install source code rpm:

$ RPM-IVH fuse-exfat-1.0.1-1-el6.src.rpm exfat-utils-1.0.1-1.el6.src.rpm

In the home directory, the Rpmbuild directory appears:

$ CD ~/rpmbuild/specs

$ rpmbuild-ba Fuse-exfat.spec

$ rpmbuild-ba Exfat-utils.spec

Once the build is complete, the resulting RPM can be found within the ~/RPMBUILD/RPMS (according to the system architecture, in the x86_64 or i386 directory, where the package with Debuginfo in the name does not have to be installed):

$ CD ~/rpmbuild/rpms/x86_64

$ sudo 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:

You can use the following command to mount the exFAT USB drive:

$ sudo mount.exfat/dev/sdxn/mnt

The x in SDXN represents your U disk device name, n represents the partition number, for example:/DEV/SDB1.

In addition, in order to facilitate, you can install the above/usr/sbin under the command under the/sbin to do a symbolic link:

$ sudo ln-s/usr/sbin/mount.exfat/sbin/mount.exfat

Easy to install directly using mount:

$ sudo mount-t exfat/dev/sdxn/mnt

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.