Linux支持exFAT和NTFS
来源:互联网 发布:php在北京好找工作吗 编辑:程序博客网 时间:2024/04/30 17:08
Linux系统默认可以自动识别到fat32格式的盘,但fat32支持的文件不能大于4G,所以只能将移动硬盘和U盘格式化为NTFS和exFAT这两种格式的,对于U盘最好格式化为exFAT,NTFS对U盘的不好的。CentOS系列一直没有默认支持使用exfat格式的大容量U盘,可以通过添加fuse-exfat模块来支持。
一、怎样在Linux下挂载exFat格式的各种硬盘
1、安装
要先下载这两个包fuse-exfat和exfat-utils
rpm包:http://rpm.pbone.net/index.php3/stat/4/idpl/26853005/dir/redhat_el_7/com/fuse-exfat-1.0.1-1.el7.nux.x86_64.rpm.html
http://rpm.pbone.net/index.php3/stat/4/idpl/20297326/dir/redhat_el_6/com/exfat-utils-1.0.0-1.el6.nux.i686.rpm.html
exfat支持是通过fuse模块的方式支持的,其项目地址是: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 ~]
# cd /opt/fuse-exfat-1.0.1/
[root@utooo fuse-exfat-1.0.1]
# scons //安装
[root@utooo fuse-exfat-1.0.1]
# scons install
[root@localhost ~]
# cd /opt/exfat-utils-1.0.1/
[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
.exfat
/dev/sdb1
/mnt/
mount
–t exfat
/dev/sdb1
/media/
//
挂载,注意要挂到的那个目录最好是空目录,下面不要有任何文件,不然会提示下面的错误的,有目录也没关系的(加个这个“-o nonempty”)
mount -t exfat /dev/sdb1 /media/ -o nonempty
3、也可下载rpm的包直接安装,编译要方便也好卸载
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
二、怎么样在Linux下挂载NTFS格式的
要想把NTFS格式的磁盘挂载到CentOS 6.4下面,需要安装第三方的插件ntfs-3g,这里我采用了编译安装插件。
1、安装
使用ntfs-3g官方源码编译安装的方法:
ntfs-3g下载页面: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/
cd
/opt/ntfs-3g_ntfsprogs-2014
.2.15/
.
/configure
#编译
make
#安装
make
install
#安装
2、挂载
mount
.ntfs-3g
/dev/sdb1
/media/
- Linux支持exFAT和NTFS
- 在Linux中使用文件系统NTFS和exFAT的小结
- exFAT和NTFS哪个好
- EXFAT和NTFS哪个好
- linux添加exFat支持
- 怎么让U盘是ExFAT或NTFS格式又支持UEFI和BIOS启动
- 嵌入式文件系统:NTFS和EXFAT比较
- 嵌入式文件系统:NTFS和EXFAT比较
- Linux系统下挂载exFAT和NTFS格式硬盘的驱动安装和配置(原创)
- Linux系统下挂载exFAT和NTFS格式硬盘的驱动安装和配置
- Linux系统下挂载exFAT和NTFS格式硬盘的驱动安装和配置
- Linux系统下挂载exFAT和NTFS格式硬盘的驱动安装和配置
- CentOS下支持挂载exFAT与NTFS文件系统
- linux(centos/ubuntu)下支持exFat格式
- linux支持NTFS
- EXFAT,FAT,NTFS优劣简述
- FAT32 NTFS exFAT
- NTFS vs FAT vs exFAT
- Chart.js报表制作
- Ubuntu使用PPA安装Sublime Text
- JEECMS源代码基本结构及相关技术简介
- struts2 ajax jquery返回json类型
- 正确遍历删除List中的元素
- Linux支持exFAT和NTFS
- dos2unix将windows下的换行符转换为unix的换行符
- div完全居中
- java.lang.NoSuchMethodException: <init> [class android.content.Context, interface androidutil.Attri
- Master-Mind Hints
- 精选30道Java笔试题解答
- chart.js操作实例(前后台互通)
- a+b 5
- C语言读取文件大量数据到数组