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