CentOS7|Redhat7挂载NTFS格式磁盘


//下载安装ntfs-3g_ntfsprogs.tgz软件包进行编译安装
tar -zxf ntfs-3g_ntfsprogs.tgz
cd ntfs-3g_ntfsprogs
./configure
make
make install

//查看磁盘
fdisk –l  		
Device 	Boot	Start		End	Blocks  Id  System
/dev/sdb1  *		7486	170667	14686336 7    HPFS/NTFS

//创建挂载点
[root@xuliangwei ~]# mkdir -p /mnt/usb 

//使用mount指定ntfs-3g格式挂载
[root@xuliangwei ~]# mount -t ntfs-3g /dev/sdb1 /mnt/usb  

//查看ntfs磁盘内文件
[root@xuliangwei ~]# ls /mnt/usb		
 drivethelife6_net_setup.ext GHO

//使用umount卸载ntfs格式磁盘
[root@xuliangwei ~]# umount -l /dev/sdb1   


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM