Linux supports exFAT and NTFS
By default, disks in fat32 format can be automatically recognized in Linux, but files supported by fat32 cannot exceed 4 GB. Therefore, you can only format the mobile hard disk and USB flash disk to NTFS and exFAT, it is best to format the USB flash disk as exFAT. NTFS is not good for the USB flash disk. The CentOS series does not support large-capacity USB flash drives in exfat format by default. You can add the fuse-exfat module.
I. How to mount various hard disks in exFat format in Linux
1. Installation
Download the fuse-exfat and exfat-utils packages first.
Exfat support is supported through the fuse module, its project address is: https://code.google.com/p/exfat/
Yum install subversion scons fuse-devel gcc
Wget https://exfat.googlecode.com/files/fuse-exfat-1.0.1.tar.gz
Wget https://exfat.googlecode.com/files/exfat-utils-1.0.1.tar.gz
Tar-zxvf exfat-utils-1.0.1.tar.gz-C/opt/
Tar-xzvf fuse-exfat-1.0.1.tar.gz-C/opt/
[Root @ localhost ~] # Fuse-exfat-1.0.1/cd/opt/
[Root @ bkjia fuse-exfat-1.0.1] # scons // Installation
[Root @ bkjia fuse-exfat-1.0.1] # scons install
[Root @ localhost ~] # Exfat-utils-1.0.1/cd/opt/
[Root @ localhost: exfat-utils-1.0.1] # ls
ChangeLog config. log COPYING dump fsck label libexfat mkfs SConstruct
[Root @ localhost exfat-utils-1.0.1] # scons
[Root @ localhost exfat-utils-1.0.1] # scons install
2. Mount
Mount. exfat/dev/sdb1/mnt/
Mount-t exfat/dev/sdb1/media // mount. Note that the directory to be mounted should be an empty directory. do not include any files. Otherwise, the following error will be prompted, it doesn't matter if there is a directory (add this "-o nonempty ")
Mount-t exfat/dev/sdb1/media/-o nonempty
3. You can also download the rpm package and install it directly. It is convenient to compile and uninstall it.
Http://download1.rpmfusion.org/free/el/updates/6/x86_64/repoview/exfat-utils.html
Http://download1.rpmfusion.org/free/el/updates/6/x86_64/repoview/fuse-exfat.html
Ii. How to mount the NTFS format in Linux
To mount an NTFS-format disk to CentOS 6.4, you need to install a third-party plug-in ntfs-3g. Here I use a compilation and installation plug-in.
1. Installation
Use the ntfs-3g official source code compilation installation method:
Ntfs-3g download page: http://www.tuxera.com/community/ntfs-3g-download/
Wget http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2014.2.15.tgz
Tar-xzvf ntfs-3g_ntfsprogs-2014.2.15.tgz-C/opt/
Ntfs-3g_ntfsprogs-2014.2.15/cd/opt/
./Configure # compile
Make # Installation
Make install # install
2. Mount
Mount. ntfs-3g/dev/sdb1/media/
This article permanently updates the link address: